New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If check=False execution becomes async #110
Comments
jonashaag
added a commit
to jonashaag/subprocess-tee
that referenced
this issue
Dec 22, 2023
Merged
ssbarnea
added a commit
that referenced
this issue
Mar 4, 2024
* Add test for #110 * Fix --------- Co-authored-by: Sorin Sbarnea <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If
check=False
is in the args then therun(..)
function returns before execution has completed. I assume this is becauseCompletedProcess.returncode
is a coroutine, so the calling thread doesn't block until it is accessed. Whencheck=True
this happens at the end ofrun(..)
.The text was updated successfully, but these errors were encountered: