[Python-bugs-list] [Bug #122625] Using os.system() does not execute some programs

noreply@sourceforge.net noreply@sourceforge.net
Thu, 16 Nov 2000 13:29:54 -0800

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
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: