Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #34638

Re: forking and avoiding zombies!

From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: forking and avoiding zombies!
Date 2012-12-11 14:40 -0500
Organization > Bestiaria Support Staff <
References (1 earlier) <50C6153F.8050205@gmail.com> <CAF_E5JbPa9gb_a7o1ZgwaNfhu_ycz+CdnMCvhDe2VC8Dy5WAgA@mail.gmail.com> <50C7282B.8000708@gmail.com> <CAF_E5JZfqEsxxfCoE_TzOAxjPhwgzFe+M_MmwBUwHURdVGZLKQ@mail.gmail.com> <50C7365F.20908@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.738.1355254836.29569.python-list@python.org> (permalink)

Show all headers | View raw


On Tue, 11 Dec 2012 10:34:23 -0300, peter <pjmakey2@gmail.com> declaimed
the following in gmane.comp.python.general:

> 
> stderrfile = '%s/error.log' % os.getcwd()
> stdoutfile = '%s/out.log' % os.getcwd()
>
	Ouch...

	stdoutfile = os.path.join(os.getcwd(), "out.log")

minimizes any OS specific quirks in path naming...
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: forking and avoiding zombies! Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-12-11 14:40 -0500

csiph-web