Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'received:209.85.223': 0.03; 'fork': 0.09; 'os.getcwd()': 0.09; 'cc:addr:python-list': 0.10; 'anyway': 0.11; 'dec': 0.15; 'quirks': 0.16; 'subject:avoiding': 0.16; 'windows': 0.19; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In- Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; "doesn't": 0.28; 'url:mailman': 0.29; "skip:' 10": 0.30; 'point': 0.31; 'url:python': 0.32; 'url:listinfo': 0.32; 'url:home': 0.33; 'received:google.com': 0.34; 'path': 0.35; 'received:209.85': 0.35; 'really': 0.36; 'but': 0.36; 'url:org': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'skip:o 20': 0.38; 'header:Received:5': 0.40; 'url:mail': 0.40; 'dennis': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Nhx0AxC/RaB7qyW9lCw9XB1/XNjj2HpXsRwec2xPPCo=; b=Z3EDVMp8vDadfPibnvsi2SoF50Fkbi9QtAVTCk3s1gegvX87lWURCGNdtyQAIbmpXt NGkdjv24sLVwwbo3JmgEbbz1ElYo62kaHLL7k7AXXP7y0YrhhA4UW+1v5pJvGmP82EXq 1L0uq/jfcj4LQRcLHEj7cpGDPEogE+il69lvSeSocl+C9iWbd6oeDWpRHKM8Ay5rK8IN 1FplDWReusno+sQRVryQtVL8GVVb6Sm9zXnEDRe0t/7DqG8KttQeHuTjv36trk1Hegs8 pMeBKJGmaZ1Rgd7+I1GM8xS8RiZGP6mLAQu2t3hgWQyv7wsKKXm3re5pTOepfyjrqdPZ 3w7g== MIME-Version: 1.0 In-Reply-To: References: <50C6153F.8050205@gmail.com> <50C7282B.8000708@gmail.com> <50C7365F.20908@gmail.com> Date: Wed, 12 Dec 2012 00:02:57 +0000 Subject: Re: forking and avoiding zombies! From: andrea crotti To: Dennis Lee Bieber Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1355270579 news.xs4all.nl 6941 [2001:888:2000:d::a6]:51539 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:34665 2012/12/11 Dennis Lee Bieber : > On Tue, 11 Dec 2012 10:34:23 -0300, peter 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..