Skip to content

Commit

Permalink
Correction to subprocess stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
mwtoews committed Mar 14, 2019
1 parent 7ce968e commit ff56ddb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymake/pymake.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import sys
import traceback
import shutil
from subprocess import Popen, PIPE
from subprocess import Popen, PIPE, STDOUT
import argparse
import datetime

Expand Down Expand Up @@ -803,7 +803,7 @@ def compile_with_ifort(srcfiles, target, fc, cc, objdir_temp, moddir_temp,
makebatch(batchfile, fc, cc, fflags, cflags, srcfiles, target,
arch, objdir_temp, moddir_temp)
#subprocess.check_call([batchfile, ])
proc = Popen([batchfile, ], stdout=PIPE, stderr=PIPE)
proc = Popen([batchfile, ], stdout=PIPE, stderr=STDOUT)
while True:
line = proc.stdout.readline()
c = line.decode('utf-8')
Expand Down

0 comments on commit ff56ddb

Please sign in to comment.