rovf has asked for the wisdom of the Perl Monks concerning the following question:
Occasionally (not reproducible so far) I see from the logs that a task fails to do a IPC::Run::run on Windows, giving the error message
No such file or directory: Win32::Process::Create()
The command to be executed looks like this (according to the debugging log just before the run()):
As I said, in nearly all cases this succeeds. From the error message I would conclude that run() does not find perl.exe, but when I do a DIR, the Perl.exe is there. Also it is on C: drive, which means that it hardly won't go away for a while and come back later, as it would maybe be possible if it were on a network drive.run(['C:\\my\\path\\to\\perl.exe','-w',....]);
So my question is: Are there other circumstances that run() yells the aforementioned error message, other than the program to be executed not being found? Well, I guess if CMD is not found, the behaviour might be the same, but here too it is not obvious why CMD should suddenly be gone for a while.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Weird message from IPC::Run::run
by repellent (Priest) on Mar 19, 2009 at 18:42 UTC | |
by rovf (Priest) on Mar 20, 2009 at 08:19 UTC |