-
-
Save wolfedale/8c16bbe4975e9e079464 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Process.daemon | |
pid = Process.pid | |
n = 1 | |
50.times do | |
puts "My proc nr: #{n}" | |
sleep 1 | |
n = n+1 | |
end | |
Process.kill(15, pid) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment