Skip to content

Commit ff7f885

Browse files
committed
Topology parser: Override stdin file descriptor of the scripts that are called with an empty one
1 parent 4996cde commit ff7f885

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DATA/tools/parse

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ for line in f:
152152
command += ' > ' + filename
153153
print('Running DPL command', command)
154154
starttime = time.time()
155-
retVal = subprocess.run(command, shell=True, stderr=subprocess.PIPE, stdout=subprocess.PIPE)
155+
retVal = subprocess.run(command, shell=True, stderr=subprocess.PIPE, stdout=subprocess.PIPE, input="")
156156
print('Execution time: ', time.time() - starttime)
157157
tmpchk = retVal.stderr.decode() + retVal.stdout.decode()
158158
haserror = 0

0 commit comments

Comments
 (0)