[Lazarus] Running external programs....

William Oliveira Ferreira bdexterholland at gmail.com
Thu Feb 2 23:04:34 CET 2012


cool, thanks... =D
________________________________
William de Oliveira Ferreira
Bacharel em Sistemas de Informação


2012/2/2 Michael Van Canneyt <michael at freepascal.org>

>
>
> On Thu, 2 Feb 2012, William Oliveira Ferreira wrote:
>
>  i was reading this article:
>> http://wiki.lazarus.**freepascal.org/Executing_**External_Programs<http://wiki.lazarus.freepascal.org/Executing_External_Programs>
>>
>> and now i have 2 questions:
>> * is sysutils.executeProcess full cross-platform?
>>
>
> Yes.
>
>
>  * why not not suggest sysutils.executeProcess to replace
>> WinExec/ShellExecute as it needs less lines to use like
>> WinExec/ShellExecute?
>>
>
> Because ShellExecute accepts documents and files and will open the correct
> program to process these files.
> ExecuteProcess only starts a program.
>
> It can probably replace WinExec.
>
> Michael.
>
>
> --
> ______________________________**_________________
> Lazarus mailing list
> Lazarus at lists.lazarus.**freepascal.org<Lazarus at lists.lazarus.freepascal.org>
> http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarus<http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120202/b6d06244/attachment-0003.html>


More information about the Lazarus mailing list