aboutsummaryrefslogtreecommitdiff
path: root/wal
diff options
context:
space:
mode:
authorDylan Araps <[email protected]>2017-06-22 11:56:23 +1000
committerDylan Araps <[email protected]>2017-06-22 11:56:23 +1000
commitb2e709355b89585c61ef8ef5c6eff04b96d69e0d (patch)
treecfbd52172a89b3284b05ef3fa2c4afb12acb51fd /wal
parentCleanup: String formatting, use f strings everywhere (diff)
downloadpywal-b2e709355b89585c61ef8ef5c6eff04b96d69e0d.tar.xz
pywal-b2e709355b89585c61ef8ef5c6eff04b96d69e0d.zip
General: Fix nohup file bug
Diffstat (limited to 'wal')
-rwxr-xr-xwal1
1 files changed, 1 insertions, 0 deletions
diff --git a/wal b/wal
index 9b48ce9..f56dcfa 100755
--- a/wal
+++ b/wal
@@ -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)