I'm having some success with the technique mentioned in ruby-talk: 
30733, 15050, etc. for running Windows apps from Ruby scripts.  But does 
anybody know of a way to vary the Win32API crtdll call so it does not 
return until the application it launched is done running? Or does crtdll 
just not support it?

  Mark