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


Groups > comp.lang.python > #34665

Re: forking and avoiding zombies!

References (2 earlier) <CAF_E5JbPa9gb_a7o1ZgwaNfhu_ycz+CdnMCvhDe2VC8Dy5WAgA@mail.gmail.com> <50C7282B.8000708@gmail.com> <CAF_E5JZfqEsxxfCoE_TzOAxjPhwgzFe+M_MmwBUwHURdVGZLKQ@mail.gmail.com> <50C7365F.20908@gmail.com> <pu2fc85l2j2tul7nrqv89a5hst16did981@invalid.netcom.com>
Date 2012-12-12 00:02 +0000
Subject Re: forking and avoiding zombies!
From andrea crotti <andrea.crotti.0@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.758.1355270579.29569.python-list@python.org> (permalink)

Show all headers | View raw


2012/12/11 Dennis Lee Bieber <wlfraed@ix.netcom.com>:
> 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/
>
> --
> http://mail.python.org/mailman/listinfo/python-list


Good point yes, but in this case fork doesn't work on Windows anyway
so it's not really an issue..

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


Thread

Re: forking and avoiding zombies! andrea crotti <andrea.crotti.0@gmail.com> - 2012-12-12 00:02 +0000

csiph-web