Skip to content

Instantly share code, notes, and snippets.

Created May 19, 2013 01:58
t = Thread.new do
if pid = fork
Process.waitpid(pid)
else
raise 'hello'
end
end
t.join
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment