in reply to Re: Launching multiple programs from Perl script
in thread Launching multiple programs from Perl script

I tested this but found the code stopped after the first exec statement. Here is the portion of my code I'm working with.
foreach ( keys %bridges ) { if ( $bridges{$_} ) { my $cmdStr = "\"C:\\Some Path\\$_\\Some File.exe\""; exec($cmdStr) if fork; } }

Replies are listed 'Best First'.
Re^3: Launching multiple programs from Perl script
by mbethke (Hermit) on Nov 06, 2012 at 17:16 UTC
    You mean the exec never returned? Strange. fork/exec emulation is not exactly straightforward on Windows but it shouldn't be that broken. Works fine here on Linux. Are you sure it's not how %bridges is set up?