() ri...@happyleptic.org () Mon, 29 Aug 2011 18:24:00 +0200 Sorry I did not report the problem very well. The trouble is not with fork itself but with open-process, which is not actually part of the runtime but rather part of ice-9 popen module.
Perhaps an object property could be added: ;; The property that @code{execl} uses to decide how to handle ;; an open port. If the value is @code{#t}, do @code{close-port} ;; on it. If a procedure, call that procedure with the port. ;; If @code{#f} or never specified, do nothing. ;; (define close-on-exec (make-object-property)) Example usage: (define port (open-input-file "COPYING")) (set! (close-on-exec port) #t)