On Feb 4, meriwether lewis said:

>The system() command in the following script is
>failing with a: "No such file or directory"
>error.

What makes you think the system() call is failing?  $! only holds a usable
value if something goes wrong.  Is $rc equal to 0 or not?  Only if $rc is
non-zero will $! be useful.

>@MakeCmd = ("nmake", "-f", "Nmakefile.mak");
>$rc = system(@MakeCmd);
>print "rc = $rc -> $!\n";

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
<stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.
[  I'm looking for programming work.  If you like my work, let me know.  ]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to