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