# HG changeset patch # User greg # Date 1493994615 14400 # Node ID 5b1873b55da5bbc38d9632aace33053f61523553 # Parent ed98449ee8a946fbd155432aca5a0ec4bc85e4fd Uploaded diff -r ed98449ee8a9 -r 5b1873b55da5 utils.py --- a/utils.py Fri May 05 09:32:39 2017 -0400 +++ b/utils.py Fri May 05 10:30:15 2017 -0400 @@ -24,7 +24,7 @@ fherr = open(fstderr, 'wb') fstdout = os.path.join(os.getcwd(), FSTDOUT) fhout = open(fstdout, 'wb') - return fherr, fhout + return fstderr, fherr, fstdout, fhout def move_directory_files(source_dir, destination_dir): @@ -38,7 +38,7 @@ def run_command(cmd): - fherr, fhout = get_response_buffers() + fstderr, fherr, fstdout, fhout = get_response_buffers() proc = subprocess.Popen(args=cmd, stderr=fherr, stdout=fhout, shell=True) rc = proc.wait() # Check results.