Python Forum
disable subprocess.popen prompt echo - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: disable subprocess.popen prompt echo (/thread-32335.html)



disable subprocess.popen prompt echo - paul18fr - Feb-03-2021

Hi all

When using subprocess.popen, program and argument echo in the prompt (see bellow): I've not figure out how to disable it.
(piping is a new topic for me, so many things remain still unclear for me in the docs)

Any help is welcome

Thanks

Quote:----------------------------------------
Program : C:\XXX.exe
Arguments: yyy
----------------------------------------



RE: disable subprocess.popen prompt echo - Larz60+ - Feb-04-2021

see: https://www.activestate.com/blog/supressing-windows-error-report-messagebox-subprocess-and-ctypes/