in reply to Can't spawn "cmd.exe":
If the program does run and produce normal output, the message might be due to an incorrect interpretation of its status/return code1. Maybe some variation of the issue discussed in What error is "No Error", where the problem seems to have been a negative return code of the program in question. What return code do you get when you run the same command interactively from the command line?
___
1 this is the respective snippet from Perl's win32.c where the warning (presumably) originates from:
if (status < 0) { if (ckWARN(WARN_EXEC)) Perl_warner(aTHX_ packWARN(WARN_EXEC), "Can't spawn \"%s\": %s +", argv[0], strerror(errno)); status = 255 * 256; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can't spawn "cmd.exe":
by emalossi (Novice) on Mar 18, 2009 at 14:26 UTC | |
by ikegami (Patriarch) on Mar 18, 2009 at 15:32 UTC | |
by BrowserUk (Patriarch) on Mar 19, 2009 at 14:16 UTC | |
by runrig (Abbot) on Mar 18, 2009 at 15:23 UTC | |
by almut (Canon) on Mar 18, 2009 at 15:51 UTC |