Skip to content

Instantly share code, notes, and snippets.

@mrbrdo
Created October 1, 2013 16:56
Show Gist options
  • Save mrbrdo/6781659 to your computer and use it in GitHub Desktop.
Save mrbrdo/6781659 to your computer and use it in GitHub Desktop.
2.0.0p247 :005 > pid = spawn("true")
=> 79236
2.0.0p247 :006 > Process.waitpid(79236)
=> 79236
2.0.0p247 :007 > Process.waitpid(79236)
Errno::ECHILD: No child processes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment