[issue44158] Clarify documentation for redirected stdout/stderr when using subprocess in Linux

2022-04-05 Thread Stanley
Stanley added the comment: Hmm, I'm not quite following - when you say that the subproccess-ed command should also inherit the redirection, which subprocess command are you referring to, and nested or unnested? I gave it a ran and everything seems to run how I'd expected it, so maybe put

[issue44158] Clarify documentation for redirected stdout/stderr when using subprocess in Linux

2022-01-15 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44158] Clarify documentation for redirected stdout/stderr when using subprocess in Linux

2022-01-15 Thread Irit Katriel
Change by Irit Katriel : -- assignee: -> docs@python components: +Documentation -Library (Lib) nosy: +docs@python versions: +Python 3.10, Python 3.11 -Python 3.7, Python 3.8 ___ Python tracker

[issue44158] Clarify documentation for redirected stdout/stderr when using subprocess in Linux

2021-05-17 Thread Andres Gomez
New submission from Andres Gomez : 1. Redirect the stderr and stdout with contextlib's redirect_stderr, redirect_stdout or just by replacing the fd in sys.stderr and sys.stdout 2. We run a subprocess with subprocess.run() 3. The documentation for subprocess states: