Revision 68bfe266
Added by Ohad Levy about 13 years ago
- ID 68bfe2669caa1e55946e9cbc41722f108061924a
lib/proxy/util.rb | ||
---|---|---|
@@tasks = @@tasks.collect { |t| nil unless t.is_a? String }.compact
|
||
|
||
# run the task in its own thread
|
||
logger.debug "Starting task (total: #{@@tasks.count}): #{cmd}"
|
||
logger.debug "Starting task (total: #{@@tasks.size}): #{cmd}"
|
||
@task = Thread.new(cmd) do |cmd|
|
||
Open3::popen3(cmd) do |stdin,stdout,stderr,thr|
|
||
# PIDs are not available under Ruby 1.8
|
Also available in: Unified diff
fixes #795 - Failed to fetch boot files on older ruby versions