Answer the question
In order to leave comments, you need to log in
How to return value from child process to parent?
It is necessary to launch the child script from the parent script and transfer information there, preferably using the subprocess library, then the child script must process it and return it to the parent script. How can I get it back through Pipe?
This is what the child process looks like
proc = Popen(
[sys.executable, "h.py"],
shell=True,
stdout=PIPE, stderr=PIPE
)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question