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
Processes only start working after checking status #68
Comments
I find it very surprising that there is a difference between these. What exactly do you mean by "checking status"? Can you add the |
Thank you for replying! The subprocess code is in a file called "call_exmp.py", and the following is the print and I bold the time for your reference.
Here is the verbose information on one process.
I will also attach my test code in another comment for your reference. |
Updating: This problem will be solved when I add |
Sorry, I cannot be more constructive, but I don't see why it shouldn't work as expected or why |
I am working on Windows. It doesn't matter since I could just use process.poll() to trigger processes. Thanks. |
Closing as I don't feel I have enough information to fix any underlying issue. |
When using
subprocess.Popen(["jug", "execute", "exmp.py"], stderr=STDOUT, creationflags=CREATE_NEW_CONSOLE)
runing jug process, the subprocess will only starts after checking status.
The same thing happens when running by
subprocess.Popen(["jug", "execute", "exmp.py"], stderr=STDOUT, shell=True)
This problem doesn't appear when using
subprocess.Popen(["jug", "execute", "exmp.py"], stderr=STDOUT)
Would you mind to help?
The text was updated successfully, but these errors were encountered: