Launching scripts in Ubuntu ?
Diez B. Roggisch
deets at nospam.web.de
Tue Oct 14 06:37:25 EDT 2008
More information about the Python-list mailing list
Tue Oct 14 06:37:25 EDT 2008
- Previous message (by thread): Launching scripts in Ubuntu ?
- Next message (by thread): Launching scripts in Ubuntu ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Stef Mientki wrote: > 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 do you mean "it's not closed"? Which window is taking the enter, and how do you run test.py? Diez
- Previous message (by thread): Launching scripts in Ubuntu ?
- Next message (by thread): Launching scripts in Ubuntu ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list