From: Bill Kelly Date: 2005-01-14T09:05:33+09:00 Subject: Re: system? exec? fork? thread? Help managing external process Hi, From: "McMahon, Chris" > I'm new to Ruby and I need some help with managing an external > process. I'm on Windows, and I want to do something (overly simplified) > like this: > > File.new(file_to_be_handled_by_outside_process.txt) > system ("C:\\filewatcher.exe file_to_be_handled_by_outside_process.txt") > > > The foreign process started by system() never stops. I need to > return control to the Ruby script after the system() call so that I can > have the Ruby script generate information for the foreign process to > handle. Might be able to do it with "start", like: system ("start C:\\filewatcher.exe file_to_be_handled_by_outside_process.txt") Hope this helps, Regards, Bill