Joe Percival wrote:
> David Jones wrote:
>> You could try using 'system', eg:
>>
>> system("yourwebcamapp.exe")
> 
> system seems to want the external process to complete before continuing. 
> exec seems to wait for completion of the external process as well.  I 
> need to  start an external process and then go on to the next command 
> without waiting for the external process to complete.  It would also be 
> nice if I could capture a handle for the external process so that I 
> could check status or kill it later.
> BTW, I only tested operation in IRB.  I'll try both commands in a script 
> later.
> joe
> 
Start up each process in a thread and when your at a port that you need 
to do something after the processes have completed wait for the threads 
to complete and continue.