> -----Original Message-----
> From: Bostjan JERKO [mailto:Bostjan.Jerko / socgen.com]
> Sent: Thursday, January 18, 2001 10:50 AM
> To: ruby-talk ML
> Subject: [ruby-talk:9494] Subprocess
>
>
> Is there a way to start a subprocess and return from it ?
> AFAIK exec starts subprocess, but doesn't return.
Yeah ... learn UNIX. It's fork-exec stuff.
First, you fork current process which makes a copy of your process in
memory.
Then, for one of you processes (for which fork() returned 0), you call exec.
Also, when using ruby, threads are a more viable option sometimes. They are
faster to start, and easier to interact and control.

Aristarkh A Zagorodnikov aka onyXMaster
X-Infinity software (www.x-infinity.ru)
ICQ: 36987938