On Friday, September 14, 2012 8:22:44 AM UTC-4, pauls...@gmail.com wrote:
> os.system worked fine, and I found something in another section of code that 
> was causing the "Too many open errors." (I was fooled, because output from 
> subprocess call didn't seem to be coming out until the open files error.
> 
> 
> 
> I'll go back and play with subprocess.call more, since os.system works. 
> That's interesting about using shlex at run time. Is that just for the sake 
> of computational cost?

I never got the hang of subprocess, either. I ended up wrapping os.system in a 
python file and using subprocess to call that with:

subprocess.Popen([sys.executable, 'Wrapper.py'])

This works for me. I'm using Windows 7.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to