From: Roger Pack Date: 2009-12-16T00:43:30+09:00 Subject: Re: bash "wait for previous to finish" option? > > If you need to safely do this and then trigger something in that other > window, Thanks for your and everyone else's responses. Since ruby has a #waitpid on both windows and linux, I think I'm going to hack up something that has a use like this: $ wait_for.rb "something that describes the other process, like a unique command line parameter, so I can lookup its pid and wait on it" then do this other command Thanks! -r -- Posted via http://www.ruby-forum.com/.