--- Joel VanderWerf <vjoel / PATH.Berkeley.EDU> wrote: > This will wait for myApp to close: > > system("myApp") And if you want to capture stdout you can also do back-quoting: output = `myapp` or output = %x{myapp} wherever there is system("myapp") > Other ruby threads will keep running. If you want > the main ruby thread > to keep running, too, just do this: > > th = Thread.new do > system("myApp") > end > > # do some stuff > > th.join # wait for myApp to close > > # then do something else > > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail