From: ts Date: 2001-01-12T00:39:29+09:00 Subject: [ruby-talk:9139] Re: pid of executed program >>>>> "H" == Hugh Sasse Staff Elec Eng writes: H> Is another way to do this to use setpgrp to set the process group H> of the process and then use kill("-SIGNAL", pgrpid)? Yes, but kill("SIGNAL", 0) can be used to send a signal to a program running in background via system("program &") (i.e. you don't need to call #fork and #setpgrp in this case) Guy Decoux