diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-11-09 11:28:39 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-11-09 11:34:05 +0900 |
commit | 2a6852c6ef272b404f97058b0afc9d460e05777c (patch) | |
tree | b7653f191c2b57bb35550310d53517302012c484 /Rakefile | |
parent | 89603b41edbaaed5cab4964a30caa8bda9285879 (diff) | |
download | rails-2a6852c6ef272b404f97058b0afc9d460e05777c.tar.gz rails-2a6852c6ef272b404f97058b0afc9d460e05777c.tar.bz2 rails-2a6852c6ef272b404f97058b0afc9d460e05777c.zip |
Correctly kill the server started with ujs test
`Kernel.#spawn` execute command via the shell if contains shell
metacharacters in the command.
In that case, return value of `spawn` is pid of the shell, not the server.
Therefore, just killing the pid will leave the process of server.
In order to correctly kill the server, send a signal to the process
group, not the process.
Diffstat (limited to 'Rakefile')
0 files changed, 0 insertions, 0 deletions