Skip to content

Commit ac04f69

Browse files
author
Theofilos Manitaras
committed
Default to DEVNULL for Popen in run_command_async
1 parent f44e37c commit ac04f69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

reframe/utility/osext.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ def run_command_async(cmd,
106106
if isinstance(cmd, str) and not shell:
107107
cmd = shlex.split(cmd)
108108

109+
popen_args.setdefault('stdin', subprocess.DEVNULL)
109110
return subprocess.Popen(args=cmd,
110111
stdout=stdout,
111112
stderr=stderr,

0 commit comments

Comments
 (0)