From: Mark Wilson Date: 2003-08-17T09:09:59+09:00 Subject: Re: spawning a process On Saturday, August 16, 2003, at 02:12 PM, Kurt M. Dresner wrote: > Hi, > > I'm looking through the Ruby documentation and I'm trying to find an > equivalent to the Python: "pid = os.spawnv(os.P_NOWAIT, program, > args)". > > I want to play a sound file in a new process, but I want the ability to > terminate, stop, and continue this process from the file I am in. > > Any suggestions? > > -Kurt In addition to all of the other responses you've received, Ruby's Shell class (part of the standard distribution) provides a lot of infrastructure for spawning new processes, including job control and threading. Regards, Mark