In message "[ruby-talk:7659] how to timeout as system call?"
on 00/12/19, Phil Tomson <ptkwt / user2.teleport.com> writes:
| include Process
| #fork a process:
| kidpid = fork do
| puts "In child, pid = #$$"
| system('du /') #or some command that takes a long time
exec('du /')
??
--
WATANABE Tetsuya
e-mail: Tetsuya_WATANABE / hp.com
tetsu / jpn.hp.com