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 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"; > > -- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]