G
G
GEXmur2012-09-18 14:10:11
Perl
GEXmur, 2012-09-18 14:10:11

Can't spawn "cmd.exe": No such file or directory

The script was sent from a higher organization, I can’t figure it out myself.
The script throws the following errors:
Can't spawn "cmd.exe": No such file or directory at C:/Perl/site/lib/SDB/ line 238.
"/home/script/proc/to_db.pl -no_del -list /data/scr/upload/local/tmp_fms_listfile.tmp" failed
SDB exit message: "/home/script/proc/to_db.pl -no_del -list /data/scr/upload/local/tmp_fms_listfile.tmp" failed
[EXIT 1 ]

from the 238th line of common.pm ("my $rc = 0xffff & system $command;") it became clear that he could not execute the system command.

OS: windows XP
Perl: 5.14.2

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
return, 2012-09-18
@return

Perhaps cmd.exe is not in $PATH?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question