I'm trying to run from my python script an external python script asynchronously. I use Popen to run it:
main.py:
from subprocess import Popen
arg1='foo'
p=Popen(['python', 'external_python_script.py', arg1],shell=True)
but nothing happens.
When I run python external_python script.py 'foo'
from the shell I get the expected result - what am I doing wrong?