We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
/dev/null
1 parent 717ded7 commit d3f3e6aCopy full SHA for d3f3e6a
pyperf/_system.py
@@ -37,10 +37,9 @@ def write_text(filename, content):
37
def run_cmd(cmd):
38
try:
39
# ignore stdout and stderr
40
- # FIXME: redirect output to /dev/null
41
proc = subprocess.Popen(cmd,
42
- stdout=subprocess.PIPE,
43
- stderr=subprocess.PIPE)
+ stdout=subprocess.DEVNULL,
+ stderr=subprocess.DEVNULL)
44
except OSError as exc:
45
if exc.errno == errno.ENOENT:
46
return 127
0 commit comments