From: Name Name Date: 2006-07-12T00:57:52+09:00 Subject: Processes and Portability I would like to run a process concurrently (thus if the process goes to sleep or runs forever, I can still run other code from my main process) and have all standard out of that process be put into a text file. I would also like this code to be portable. And finally, I would like to be able to kill this process at any time (So I will need the pid) This thus eliminates the use of fork. Also, I have tried: a=IO.popen("program > logfile"), but on Windows this creates two processes, cmd.exe and program. a.pid only gives the pid of cmd.exe. And the behavior on *nix seems to be just the program (although I can be wrong). So I require portability in that sense. Is this possible? thanks -- Posted via http://www.ruby-forum.com/.