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
|
# Open log
|
||||||
if not TESTS['NVMe/SMART']['Quick']:
|
if not TESTS['NVMe/SMART']['Quick']:
|
||||||
try:
|
try:
|
||||||
popen_program(['nohup', 'leafpad', global_vars['LogFile']])
|
popen_program(['nohup', 'leafpad', global_vars['LogFile']], pipe=True)
|
||||||
except Exception:
|
except Exception:
|
||||||
print_error('ERROR: Failed to open log: {}'.format(
|
print_error('ERROR: Failed to open log: {}'.format(
|
||||||
global_vars['LogFile']))
|
global_vars['LogFile']))
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ if __name__ == '__main__':
|
||||||
print_standard('\nDone.')
|
print_standard('\nDone.')
|
||||||
if 'gui' in sys.argv:
|
if 'gui' in sys.argv:
|
||||||
pause("Press Enter to exit...")
|
pause("Press Enter to exit...")
|
||||||
popen_program(['nohup', 'thunar', '/media'])
|
popen_program(['nohup', 'thunar', '/media'], pipe=True)
|
||||||
exit_script()
|
exit_script()
|
||||||
except SystemExit:
|
except SystemExit:
|
||||||
pass
|
pass
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue