This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author stutzbach
Recipients amaury.forgeotdarc, belopolsky, benjamin.peterson, doko, exarkun, loewis, naufraghi, petere, pitrou, stutzbach
Date 2011-02-03.20:49:11
SpamBayes Score 0.000441891
Marked as misclassified No
Message-id <>
In-reply-to <1296764326.3925.15.camel@localhost.localdomain>
On Thu, Feb 3, 2011 at 12:18 PM, Antoine Pitrou <> wrote:
> I just took a look at, and it
> uses dup2() to redirect standard streams, which is far nicer.

I'm more worried about the case where a daemon launches python.

At startup, could we check that 2 and 3 are valid file descriptors,
and, if not, open /dev/null?  That way, they cannot later be
inadvertently assigned to some other file?
Date User Action Args
2011-02-03 20:49:11stutzbachsetrecipients: + stutzbach, loewis, doko, exarkun, amaury.forgeotdarc, belopolsky, pitrou, benjamin.peterson, naufraghi, petere
2011-02-03 20:49:11stutzbachlinkissue7111 messages
2011-02-03 20:49:11stutzbachcreate