General: Fix nohup file bug

This commit is contained in:
Dylan Araps 2017-06-22 11:56:23 +10:00
parent ecac158a25
commit b2e709355b
2 changed files with 1 additions and 0 deletions

View File

1
wal
View File

@ -114,6 +114,7 @@ def process_args(args):
# -o
if args.o:
subprocess.Popen(["nohup", args.o],
stdout=open("/dev/null", "w"),
stderr=open("/dev/null", "w"),
preexec_fn=os.setpgrp)