From: Romeu Henrique Capparelli Fonseca Date: 2006-08-10T22:00:08+09:00 Subject: RES: Start an external application - How? Hi, From my C time, it seems like the famous fork+exec+wait. I don't know if it's possible in ruby or in all platforms. May you can start a thread and run the system there. --Romeu -----Mensagem original----- De: list-bounce@example.com [mailto:list-bounce@example.com] Em nome de Joe Percival Enviada em: quinta-feira, 10 de agosto de 2006 08:38 Para: ruby-talk ML Assunto: Re: Start an external application - How? 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 -- Posted via http://www.ruby-forum.com/. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.10.8/415 - Release Date: 9/8/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.10.8/415 - Release Date: 9/8/2006