diff options
| author | Kian Kasad <kdkasad@gmail.com> | 2020-05-30 14:01:18 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-30 17:01:18 -0400 |
| commit | 3222354d50c9cc5a50fc78059e69e423a7009d58 (patch) | |
| tree | 53cd87a34815f7e7b8d8c670777208a728616e2a /.local/bin/compiler | |
| parent | 52d9140820d3e39446cb8414220c9bc5a052216c (diff) | |
| download | eibhear-3222354d50c9cc5a50fc78059e69e423a7009d58.tar.gz eibhear-3222354d50c9cc5a50fc78059e69e423a7009d58.tar.zst eibhear-3222354d50c9cc5a50fc78059e69e423a7009d58.zip | |
make use of setsid(1)'s `-f` flag (#652)
Co-authored-by: Luke Smith <luke@lukesmith.xyz>
Diffstat (limited to '.local/bin/compiler')
| -rwxr-xr-x | .local/bin/compiler | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
