Skip to content

Commit f890e4d

Browse files
author
Vasileios Karakasis
authored
Merge pull request #1879 from rsarm/bugfix/stdin-tty
[bugfix] Set stdin to null when launching processes from ReFrame, so that processes do no think they are on a tty
2 parents d05b850 + 775057a commit f890e4d

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
@@ -112,6 +112,7 @@ def run_command_async(cmd,
112112
return subprocess.Popen(args=cmd,
113113
stdout=stdout,
114114
stderr=stderr,
115+
stdin=subprocess.DEVNULL,
115116
universal_newlines=True,
116117
shell=shell,
117118
**popen_args)

0 commit comments

Comments
 (0)