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
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
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 a habit I'll make sure to avoid, then.
Thanks, Chris!
--
http://mail.python.org/mailman/listinfo/python-list