[Koha-bugs] [Bug 26854] stage-marc-import.pl does not properly fork

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 29 04:01:13 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26854

--- Comment #3 from David Cook <dcook at prosentient.com.au> ---
Note the following from https://perldoc.perl.org/functions/fork:

"Note that if your forked child inherits system file descriptors like STDIN and
STDOUT that are actually connected by a pipe or socket, even if you exit, then
the remote server (such as, say, a CGI script or a backgrounded job launched
from a remote shell) won't think you're done. You should reopen those to
/dev/null if it's any issue."

While they only list STDIN and STDOUT, when it comes to CGI all of STDIN,
STDOUT, and STDERR of the CGI script are connected to the web server.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list