I'm using ActivePerl on a Win 7 box and I want to use the Proc::Reliable CPAN module. It downloaded and installed properly but when I tried to run the following code, it failed at run
my $newProc = Proc::Reliable->new()
$newProc->run("perl.exe -e print 'hello world'");
I tried a couple things, such as testing the status
and trying to retrieve output, but with no luck. As best as I can tell, the program dies silently on run
.
For reference perl.exe is in my PATH
variable and I'm calling this from commandline as: perl.exe test.pl