[Linux] Avoid output to nohup.out

This commit is contained in:
Ivan Malison 2016-09-19 20:07:19 -07:00
parent f790588f5b
commit e291aa3406
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -1,3 +1,3 @@
#!/usr/bin/env sh
pkill "$1"
nohup "$@" & >"/tmp/$1.out" 2>"/tmp/$1.error"
nohup "$@" >"/tmp/$1.out" 2>"/tmp/$1.error" &