Bug #122625, was updated on 2000-Nov-16 13:29
Here is a current snapshot of the bug.
Project: Python
Category: Modules
Status: Open
Resolution: None
Bug Group: Platform-specific
Priority: 5
Summary: Using os.system() does not execute some programs
Details: I do not think I can fully explain what is happening. Here is my attempt.
I use Python as a scripting to run large programs. Sometimes the code I expect python to run in os.system(command) does not run. I cannot figure out why it does not run.
My guess is that os.system() cannot execute large programs (sometimes?). Becuase when I run
command = "XYZ" # whatever long program
print command
os.system(command)
it sometimes works. I have not just piped it to tcsh as
command = "XYZ"
print command
Take the above program | tcsh
This works all the time.
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=122625&group_id=5470