Velocity Reviews - Computer Hardware Reviews

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

Reply
Thread Tools

Re: forking and avoiding zombies!

 
 
andrea crotti
Guest
Posts: n/a
 
      12-12-2012
2012/12/11 Dennis Lee Bieber <(E-Mail Removed)>:
> On Tue, 11 Dec 2012 10:34:23 -0300, peter <(E-Mail Removed)> 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://www.velocityreviews.com/forums/(E-Mail Removed) 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..
 
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