I have a problem with the code below, and with any code that uses the print function in the child processes. I can\'t see any printed statements, even if I use
Having run into this issue myself, sometimes this can be because the child process is actually silently failing before ever getting to the print statement. If this is the case, wrapping the child process code in a try-except block and returning the exception object (to be printed in the parent process) is an effective way to debug this.