RE: system() call fails

2003-02-05 Thread yargo
I'd try : @MakeCmd = ("nmake", "-f", "Nmakefile.mak"); $rc = system(join " ",@MakeCmd); -Original Message- From: meriwether lewis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 7:17 AM To: [EMAIL PROTECTED] Subject: system() call fails Hi Gurus! I'm running Perl 5.004_04

Re: system() call fails

2003-02-04 Thread km
try with : system("@MakeCmd"); KM On Wed, 5 Feb 2003, Jeff 'japhy' Pinyan wrote: > 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 yo

Re: system() call fails

2003-02-04 Thread Jeff 'japhy' Pinyan
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