mrityunjaynath has asked for the wisdom of the Perl Monks concerning the following question:
hello all
i have written a code in which it is trying to run qcmd.dat file which runs a tool. while the command executes and provides the required output but an error saying
cant spawn "cmd.exe" at line ......
the tool has many version so qcmd.dat for a version is determined by setting file name provided. please help..thanks in advance
print("Enter y or n to continue with synthesis \n"); my $choice = <STDIN>; chop($choice); if ($choice eq "y") { system (`qcmd.bat $toplevelentity`); } else { print "continue manually with synthesis\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: error: can't spawn "cmd.exe"
by Athanasius (Archbishop) on Jul 13, 2015 at 08:13 UTC | |
by mrityunjaynath (Acolyte) on Jul 13, 2015 at 08:40 UTC | |
|
Re: error:cant spawn "cmd.exe"
by Anonymous Monk on Jul 13, 2015 at 07:52 UTC |