Avoid nohup.out creation
This commit is contained in:
parent
f1700e5ba9
commit
1c3520806c
2 changed files with 2 additions and 2 deletions
|
|
@ -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']))
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue