[Lazarus] ExecuteProcess

Henry Vermaak henry.vermaak at gmail.com
Fri Jan 20 15:38:44 CET 2012


On 20/01/12 10:41, Kjow wrote:
> Hi all,
>
> I can't find it on google, so is it possible to hide the command prompt
> window that appears with SysUtils.ExecuteProcess('','',[]); ?
>
> I need to run some external processes, but I would not see the console
> window.

Windows specific: you can do this with CreateProcess by adding 
CREATE_NO_WINDOW to the process creation flags.  Perhaps something can 
be added to TProcess to make this easier.

Henry




More information about the Lazarus mailing list