# HG changeset patch # User greg # Date 1493994666 14400 # Node ID a9d8e2ee41f69917c210bcf6d5120cfbf9499d9b # Parent 016d6f127f8d3c04e88abd665ae4c0df98430bb7 Uploaded diff -r 016d6f127f8d -r a9d8e2ee41f6 utils.py --- a/utils.py Fri May 05 09:34:01 2017 -0400 +++ b/utils.py Fri May 05 10:31:06 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.