On Thursday 07 June 2001 15:01, prachi shroff wrote:
> Hi,
>
> I am trying to run an executable file from within my perl script using the
> SYSTEM command. If I run the exe from either the command line or by double
> clicking, it works fine, but when I embed it into the perl script it gives
> errors compiling. It is an exe of a C code and shows errors specific to the
> code like "error opening a file" that it needs to read.
>
> Could anyone please give in any suggestions.

Maybe that the C code refers to the file with relative path, and your working 
directory isn't set correctly? If this is you case, use chdir() function.

-- 
Ondrej Par
Internet Securities
Software Engineer
e-mail: [EMAIL PROTECTED]
Phone: +420 2 222 543 45 ext. 112

Reply via email to