Answer the question
In order to leave comments, you need to log in
How to start a python process in linux?
Good day, it became necessary to run the script in a function using
subprocess.Popen("path/python.py %s" % stats.id,
shell=True, stdout=subprocess.PIPE)
Answer the question
In order to leave comments, you need to log in
try this:
subprocess.Popen("path/python.py %s & " % stats.id,
shell=True, stdout=subprocess.PIPE)
Excellent! Do not take it for impudence, but where can I read more about such nuances?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question