diaroeh 0 Posted March 30, 2021 Hi everybody, I just have to develope some GUI for existing python script which are using python's subprocess. On testing with python4delphi and TPythonGUIInputOutput it seem's that python.subprocess is ignored and never called. Any idea to run and access on subprocess-modules or is it not possible with python4delphi. Thanks in advance Dirk Share this post Link to post
pyscripter 689 Posted March 31, 2021 (edited) TPythonGUIInputOutput only captures output sent to to sys.stdout and sys.stderr. It will not capture the output generated by sub-processes and printed to the console. You can capture the output of sub-processes and make it available to Delphi or print it from the script that creates the sub-processes. See subprocess — Subprocess management — Python 3.9.2 documentation for details Edited March 31, 2021 by pyscripter Share this post Link to post