From: Devin Mullins Date: 2006-11-29T22:57:40+09:00 Subject: Re: I'm a process-spawning idiot. Eric Hodel wrote: > That said, try playing with shell.rb. I don't really know what it > does, though. Thanks! This Ruby program: STDOUT.reopen open('log.txt','w') exec 'echo', 'Hi!' __END__ outputs "Hi!" to log.txt. shell.rb (or, more specifically, shell/process-controller.rb), uses this combined with fork (since exec replaces the process) to do its dirty work. Downloading win32-process now... :D Devin