Skip Menu |

This queue is for tickets about the IPC-Run CPAN distribution.

Report information
The Basics
Id: 88776
Status: resolved
Priority: 0/
Queue: IPC-Run

People
Owner: Nobody in particular
Requestors: ailin [...] devio.us
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: IPC::Run problems with tied STD* handles, as happens in FCGI
Date: Wed, 18 Sep 2013 11:20:32 +0200
To: bug-IPC-Run [...] rt.cpan.org
From: "A.N." <ailin [...] devio.us>
To make IPC::Run work in FCGI scripts, it would be helpful to add these three unties at the beginning of close_terminal sub: untie *STDIN; untie *STDOUT; untie *STDERR; otherwise it dies with Internal Server Error when trying to use ptys. Untying is fine as it only happens in the fork. (The error hidden behind the Internal Server Error is "Not a GLOB reference" when trying to close any of the tied handles)
Ticket migrated to github as https://github.com/toddr/IPC-Run/issues/53