Zitat von Steve Howe <[EMAIL PROTECTED]>:

> Hello el,
> > Hi,
> >  I am trying to launch a perl script from Lazarus on Linux. The script
> > takes some arguments. At the command line I type
> >
> > perl file.pl arg1 arg2 arg3 and it works. I cannot get it to work through
> > lazarus using the Tprocess. Thanks
> What is the code you're using ? Do you call the interpreter or the script
> directly ? And what is the operating system ?

Keep in mind, that TProcess needs the complete path to the perl interpreter. For
example:
/usr/bin/perl file.pl arg1 arg2

You can use FindDefaultExecutablePath in unit FileUtil to find the full
filename.

Mattias

_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to