Proc::Background does not appear to like spaces in the file name. However, I found another post on this and it resolved my issue with the spaces. Re: Proc::Background does not take file path with spaces
And here's the final, working code example for anyone else who comes along.foreach ( keys %bridges ) { if ( $bridges{$_} ) { my $cmdStr = Win32::GetShortPathName("C:\\Some Path\\$_\\Some +File.exe"); my $proc1 = Proc::Background->new($cmdStr); } }
In reply to Re^2: Launching multiple programs from Perl script
by Shawrich
in thread Launching multiple programs from Perl script
by Shawrich
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |