Avoid nohup.out creation

This commit is contained in:
2Shirt 2018-05-17 15:17:14 -06:00
parent f1700e5ba9
commit 1c3520806c
2 changed files with 2 additions and 2 deletions

View file

@ -503,7 +503,7 @@ def run_tests(tests):
# Open log
if not TESTS['NVMe/SMART']['Quick']:
try:
popen_program(['nohup', 'leafpad', global_vars['LogFile']])
popen_program(['nohup', 'leafpad', global_vars['LogFile']], pipe=True)
except Exception:
print_error('ERROR: Failed to open log: {}'.format(
global_vars['LogFile']))

View file

@ -29,7 +29,7 @@ if __name__ == '__main__':
print_standard('\nDone.')
if 'gui' in sys.argv:
pause("Press Enter to exit...")
popen_program(['nohup', 'thunar', '/media'])
popen_program(['nohup', 'thunar', '/media'], pipe=True)
exit_script()
except SystemExit:
pass