Re: forking and avoiding zombies!

Discussion in 'Python' started by andrea crotti, Dec 12, 2012.

  1. 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
    > 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..
     
    andrea crotti, Dec 12, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. andrea crotti

    forking and avoiding zombies!

    andrea crotti, Dec 10, 2012, in forum: Python
    Replies:
    0
    Views:
    140
    andrea crotti
    Dec 10, 2012
  2. peter
    Replies:
    0
    Views:
    152
    peter
    Dec 10, 2012
  3. andrea crotti

    Re: forking and avoiding zombies!

    andrea crotti, Dec 11, 2012, in forum: Python
    Replies:
    0
    Views:
    165
    andrea crotti
    Dec 11, 2012
  4. peter
    Replies:
    0
    Views:
    129
    peter
    Dec 11, 2012
  5. andrea crotti

    Re: forking and avoiding zombies!

    andrea crotti, Dec 11, 2012, in forum: Python
    Replies:
    1
    Views:
    114
    Nobody
    Dec 12, 2012
Loading...

Share This Page