From: Harmen Schut Date: 2006-07-12T04:23:09+09:00 Subject: Re: Processes and Portability Name Name wrote: > ... > > a=IO.popen(program_name > logfile) > Process.kill(9, a.pid) > > spawns two processes and does not kill both. > > I need something to be able to do the latter. > > thanks What about: a=IO.popen("#{program_name} > #{logfile}") Process.kill(9, a.pid) Don't know if that works on MSWindows. Harmen -- Posted via http://www.ruby-forum.com/.