Sorry for the bad terminology and thank you for clarifying it.
My qestion then boils down to this: how do I install a SIGPIPE / EBADF handler
for the whole application?
About your last comment: I haven't provided any Lisp code because I don't have
any. The recipe is as I posted in the original post with the execution of an
SBCL binary in a shell that is then closed (while the binary keeps running in the background).
- Expected behaviour: With the proper handler in place, the application would be
able to handle the bad file descriptor that *standard-output* and
*standard-error* are point to.
- Current behaviour: Without any handler, the execution of the application stops
(proparly due to a raised condition) when anything is written to
*standard-output* or *standard-error*.
Sorry for the bad terminology and thank you for clarifying it.
My qestion then boils down to this: how do I install a SIGPIPE / EBADF handler
for the whole application?
About your last comment: I haven't provided any Lisp code because I don't have
any. The recipe is as I posted in the original post with the execution of an
SBCL binary in a shell that is then closed (while the binary keeps running in the background).
- Expected behaviour: With the proper handler in place, the application would be
able to handle the bad file descriptor that *standard-output* and
*standard-error* are point to.
- Current behaviour: Without any handler, the execution of the application stops
(proparly due to a raised condition) when anything is written to
*standard-output* or *standard-error*.