Hello,

Is your perl script that can't open exe file or your exe that can't open
another file ?

- if perl can't open exe file:
check that exe's path is defined on your PATH environment variable
or
if perl srcipt and exe are in same directory, check line
SYSTEM("./myexe.exe") 
the ./ stands for current directory.
or
try another way than SYSTEM : exec, ` `, ...

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.
> 
> Thanks,
> Prachi

-- 
--------------------------------------------------------
 Jean-Matthieu Guerin
                Brime Ingenierie
                [EMAIL PROTECTED]
--------------------------------------------------------

Reply via email to