Skip to content

zombie processes #8

Open
Open
@zimbatm

Description

@zimbatm

Just found that issue, I don't have the time to investigate yet:

(master)⚡ % irb
ruby-1.8.7-p334 :001 > require 'open4'
 => true 
ruby-1.8.7-p334 :002 > Open4.spawn 'fsdsdsdfdf' rescue $!
 => #<Errno::ENOENT: No such file or directory - fsdsdsdfdf> 
ruby-1.8.7-p334 :003 > Process.waitall
 => [[46141, #<Process::Status: pid=46141,exited(1)>]] 
ruby-1.8.7-p334 :004 > 

If you don't wait for the pid, a zombie process is going to hang around

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions