in reply to How do I start two programs without waiting for first one to be finished ?

On Windows, I use this to launch one program and not wait, and then another with waiting.
use Win32::Process; my $path = "C:\\mydirectory\\myprogram.exe"; Win32::Process::Create( $Process, $path, "myprogram", 0, NORMAL_PRIORITY_CLASS, "." ) or die "Can't Create - $!"; chdir "c:\\Program Files\\CoolRuler"; system "coolruler.exe";
  • Comment on Re: How do I start two programs without waiting for first one to be finished ?
  • Download Code