# HG changeset patch # User peterjc # Date 1496758750 14400 # Node ID 3ef6c246ccac25a01f7af672e90a01546e4d9662 # Parent 007e86eff41488c270d3453142765858c9188fbe planemo upload for repository https://github.com/peterjc/pico_galaxy/tree/master/tools/effectiveT3 commit 79bbb921cb5aa953f0323accd6c8c293c6e486cf-dirty diff -r 007e86eff414 -r 3ef6c246ccac tools/effectiveT3/effectiveT3.py --- a/tools/effectiveT3/effectiveT3.py Mon May 22 06:33:59 2017 -0400 +++ b/tools/effectiveT3/effectiveT3.py Tue Jun 06 10:19:10 2017 -0400 @@ -73,7 +73,8 @@ # Avoid using shell=True when we call subprocess to ensure if the Python # script is killed, so too is the child process. try: - child = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + child = subprocess.Popen(cmd, universal_newlines=True, + stdout=subprocess.PIPE, stderr=subprocess.PIPE) except Exception as err: sys.exit("Error invoking command:\n%s\n\n%s\n" % (" ".join(cmd), err)) # Use .communicate as can get deadlocks with .wait(),