Re: subprocess call is not waiting.

2012-09-15 Thread paulstaten
That's a habit I'll make sure to avoid, then. Thanks, Chris! -- http://mail.python.org/mailman/listinfo/python-list

Re: subprocess call is not waiting.

2012-09-14 Thread paulstaten
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.

Re: subprocess call is not waiting.

2012-09-13 Thread paulstaten
Thanks, guys. MRAB-RedHat 6 64-bit, Python 2.6.5 JM-Here's the relevant stuff from my last try. I've also tried with subprocess.call. Just now I tried shell=True, but it made no difference. sticking a print(out) in there just prints a blank line in between each iteration. It's not until the 5 tr

subprocess call is not waiting.

2012-09-13 Thread paulstaten
I have a subprocess.call which tries to download a data from a remote server using HTAR. I put the call in a while loop, which tests to see if the download was successful, and if not, loops back around up to five times, just in case my internet connection has a hiccup. Subprocess.call is suppos