we want to narrow down the stdout vs stderr

This commit is contained in:
brent s 2017-10-09 14:56:19 -04:00
parent b489c69772
commit eb6999169e
1 changed files with 3 additions and 2 deletions

View File

@ -50,8 +50,9 @@ def chkDisk(disk):
'-t', 'long', '-t', 'long',
'-d', 'sat', '-d', 'sat',
disk] disk]
for c in (bb, smctl): with open(os.devnull, 'w') as DEVNULL:
subprocess.run(c) for c in (bb, smctl):
subprocess.run(c, stdout = DEVNULL)
return() return()


def main(): def main():