From 3222354d50c9cc5a50fc78059e69e423a7009d58 Mon Sep 17 00:00:00 2001 From: Kian Kasad Date: Sat, 30 May 2020 14:01:18 -0700 Subject: make use of setsid(1)'s `-f` flag (#652) Co-authored-by: Luke Smith --- .local/bin/compiler | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/compiler') diff --git a/.local/bin/compiler b/.local/bin/compiler index 51d14f5..75ed347 100755 --- a/.local/bin/compiler +++ b/.local/bin/compiler @@ -35,6 +35,6 @@ case "$file" in *\.m) octave "$file" ;; *\.scad) openscad -o "$base".stl "$file" ;; *\.go) go run "$file" ;; - *\.sent) setsid sent "$file" 2>/dev/null & ;; + *\.sent) setsid -f sent "$file" 2>/dev/null ;; *) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;; esac -- cgit v1.3.1