Commits

Peter Bex  committed 0b54a87

fork/pipe returns #f in the child, not 0

  • Participants
  • Parent commits fdcc8f9

Comments (0)

Files changed (1)

File scsh-process.scm

                       ;; Not needed anymore after duplication is complete.
                       (file-close (cadr p)))
                     pipe-pairs from-fds)
-          (if thunk (run-final-thunk thunk) pid))
+          (if thunk (run-final-thunk thunk) #f))
         (begin                          ; Parent
           (for-each (lambda (p to-fd)
                       ;; Close sending end in parent.