Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: forking and avoiding zombies!

Reply
Thread Tools

Re: forking and avoiding zombies!

 
 
Dennis Lee Bieber
Guest
Posts: n/a
 
      12-11-2012
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
HTTP://wlfraed.home.netcom.com/

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: forking and avoiding zombies! andrea crotti Python 1 12-12-2012 03:23 PM
Re: forking and avoiding zombies! peter Python 0 12-11-2012 12:33 PM
Re: forking and avoiding zombies! andrea crotti Python 0 12-11-2012 11:47 AM
Re: forking and avoiding zombies! peter Python 0 12-10-2012 05:00 PM
forking and avoiding zombies! andrea crotti Python 0 12-10-2012 03:42 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57