On 14/12/2007, el stamatakos <[EMAIL PROTECTED]> wrote:
>
> Hi,
>  I would like to run a perl script that accepts some arguments and also 
> outputs info to a log file. I would like to be able to do something like
>
> cmd = "cd " + DestinationDirPath +  " ; setenv PATH $PATH{:$LOC} ; 
> ${LOC}/prog.pl " + DirFiles + " -dk " +  TemplateDirPath + "  -defMulti> 
> prog.log"
>
> How would I do something like this in Lazarus using the TProcess or any other 
> funtion or method to launch the perl script with the proper inputs.
>

this might help: http://wiki.freepascal.org/Executing_External_Programs

> Thanks
>
> Best,
>
> Lefti
>

henry

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to