diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/fnl.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -9,7 +9,9 @@ fi # Create a temporary directory; note that we *don't* clean it up on exit dir=$(mktd fnl) || exit -# Run the command; keep its exit status +# Run the command; keep its exit status; wrap the command in braces so that the +# out files are always opened even if the command is not found or otherwise +# can't be run; some BSD shells require this, I forget which ones { "$@" ; } >"$dir"/stdout 2>"$dir"/stderr ret=$? |