Skip to content
Snippets Groups Projects
Commit 8c7736d9 authored by Venkat Malladi's avatar Venkat Malladi
Browse files

Fixed missing libraries and update syntax for python3.

parent 38d866fe
1 merge request!13Resolve "Add in Macs2 support"
......@@ -5,6 +5,7 @@
import shlex
import logging
import subprocess
logger = logging.getLogger(__name__)
......@@ -48,7 +49,7 @@ def run_pipe(steps, outfile=None):
def block_on(command):
process = subprocess.Popen(shlex.split(command), stderr=subprocess.STDOUT, stdout=subprocess.PIPE)
for line in iter(process.stdout.readline, ''):
sys.stdout.write(line)
sys.stdout.buffer.write(line)
process.wait()
return process.returncode
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment