This is working code for Ruby 1.9.x:
pid = nil
pid = spawn(“pause”)
How can I do that in Ruby 1.8.x for Linux AND Windows?
Use case is to execute a system command and to kill it after a certain
time if the process does not terminate.
Thanks in advance!