mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
![]() The ruby_cmd helper blindly escapes code blocks passed to it, causing "sleep" to be quoted in the command-line. This quoting results in IO.popen using a subshell (/bin/sh) to run the given string command instead of invoking the Ruby executable directly. Thus, IO.popen would only see the PID of the subshell via IO#pid, and merely sending SIGKILL to the subshell would not result in the child ("ruby -e sleep") being killed. This problem with lingering ruby processes was easier to reproduce on slow or heavily-loaded systems using low-scheduling priority (e.g. "chrt -i 0 make test-rubyspec") git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
||
---|---|---|
.. | ||
argf | ||
array | ||
basicobject | ||
bignum | ||
binding | ||
builtin_constants | ||
class | ||
comparable | ||
complex | ||
dir | ||
encoding | ||
enumerable | ||
enumerator | ||
env | ||
exception | ||
false | ||
fiber | ||
file | ||
filetest | ||
fixnum | ||
float | ||
gc | ||
hash | ||
integer | ||
io | ||
kernel | ||
main | ||
marshal | ||
matchdata | ||
math | ||
method | ||
module | ||
mutex | ||
nil | ||
numeric | ||
objectspace | ||
proc | ||
process | ||
random | ||
range | ||
rational | ||
regexp | ||
signal | ||
string | ||
struct | ||
symbol | ||
systemexit | ||
thread | ||
threadgroup | ||
time | ||
true | ||
unboundmethod |