wxinix 0 Posted January 1 I am looking for a Delphi subprocess library, something like Python's subprocess - is there one? Share this post Link to post
dummzeuch 1392 Posted January 1 (edited) 43 minutes ago, wxinix said: I am looking for a Delphi subprocess library, something like Python's subprocess - is there one? If I understood this correctly, a Python subprocess starts an external program, connects its stdin/out/err to pipes and gets the return code when it exits. There is nothing like this in the standard Delphi RTL but there are multiple third party options. If I remember correctly one is in the JCL, another is my own TAsyncExec class in unit u_dzAsyncExec which is part of my dzlib library. Edited January 1 by dummzeuch 1 Share this post Link to post
Darian Miller 336 Posted January 1 There's quite a few options out there. I wrote a related blog post and provided some example code: https://ideasawakened.com/post/use-createprocess-and-capture-the-output-in-windows Share this post Link to post