Skip to content

Commit

Permalink
Merge pull request #15 from kini/tmpdir
Browse files Browse the repository at this point in the history
Use tmpdir instead of current dir for tempfile
  • Loading branch information
jaredcdavis committed Jul 31, 2020
2 parents 22d7db2 + 55abe71 commit 2057516
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.lisp
Expand Up @@ -625,7 +625,7 @@ shellpool_add_minus() {
done
}
"
"(((bash " filename
"(((bash '" filename "'"
" < /dev/null | shellpool_add_plus) 3>&1 1>&2 2>&3 | shellpool_add_minus) 2>&1"
" ; printf \"\\n" +status-line+ " $?\\\n\" ) &" nl
"echo " +pid-line+ " $! 1>&2" nl
Expand All @@ -652,7 +652,7 @@ shellpool_add_minus() {
(stderr-exit nil)
(tempfile
(cl-fad:with-output-to-temporary-file
(stream :template "shellpool-%.tmp")
(stream :template "temporary-files:shellpool-%.tmp")
;; Notes:
;;
;; - We don't need a #!/???/bash line. We will invoke the script
Expand Down

0 comments on commit 2057516

Please sign in to comment.