-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
os.fork
indefinitely waiting
#124
Comments
Also similarly using from multiprocessing import Process
import os
def child():
print("\nI am child process")
print("Process ID:", os.getpid())
print("Parent's process ID:", os.getppid())
def main():
p = Process(target=child)
p.start()
print("I am parent process:")
print("Process ID:", os.getpid())
p.join()
p.close()
if __name__ == "__main__":
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great project so far, but I've been having some difficulty in getting our project to work with forked processes.
Specifically the code below hangs indefinitely, was looking for any suggestions on what I can do to be able to debug it, even if both the child process isn't possible to get breakpoints within:
MRE:
Expected output:
Actual output:
The text was updated successfully, but these errors were encountered: