[Lazarus] ExecuteProcess - do not wait for process on Linux

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] ExecuteProcess - do not wait for process on Linux

Roland Turcan
Hello Lazarus mailing list!

How can I execute process/start external application similar to
"myapp &" where I don't want to wait until process ends.

Thanks.

--
Best regards, TRoland
http://www.rotursoft.sk
http://exekutor.rotursoft.sk


--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] ExecuteProcess - do not wait for process on Linux

leledumbo
Administrator
For this, you should use TProcess without poWaitOnExit option. ExecuteProcess would block, always.