S
Stef Mientki
hello,
I'm not familiar with Linux / Ubuntu,
still trying to get my application working under these operating systems.
I've a script "file_support.py",
now when I'm in Ubuntu, open a command window and go to the directory
where that file is,
I can launch the script with :
"python file_support.py"
and it works great
Now when I want to run the script from another script, let's call it "
test.py"
where this is the contents of test.py:
import subprocess
subprocess.Popen ( [ 'python', 'file_support.py', ] )
The script "file_support" is executed correctly,
but the python interpreter is not closed,
I've to close it manual by pressing ENTER.
What should I change ?
thanks,
Stef Mientki
I'm not familiar with Linux / Ubuntu,
still trying to get my application working under these operating systems.
I've a script "file_support.py",
now when I'm in Ubuntu, open a command window and go to the directory
where that file is,
I can launch the script with :
"python file_support.py"
and it works great
Now when I want to run the script from another script, let's call it "
test.py"
where this is the contents of test.py:
import subprocess
subprocess.Popen ( [ 'python', 'file_support.py', ] )
The script "file_support" is executed correctly,
but the python interpreter is not closed,
I've to close it manual by pressing ENTER.
What should I change ?
thanks,
Stef Mientki