in reply to Using Proc::Background and Win32
From looking at the source, and the location of the error message, it seems that Proc::Background makes the error of checking $ENV{PATH} for the program, but fails to know that the current directory on Windows is implied to be on the path.
Maybe you can check whether prefixing your Perl script with the current directory works?
or$proc = Proc::Background->new("./bg_script.pl $ARG1 $ARG2 $ARG3 $ARG4" +);
$proc = Proc::Background->new(".\\bg_script.pl $ARG1 $ARG2 $ARG3 $ARG4 +");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using Proc::Background and Win32
by mmartin (Monk) on Oct 18, 2013 at 17:56 UTC |