Re: forking and avoiding zombies!

Discussion in 'Python' started by Dennis Lee Bieber, Dec 11, 2012.

  1. 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/
    Dennis Lee Bieber, Dec 11, 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:
    115
    andrea crotti
    Dec 10, 2012
  2. peter
    Replies:
    0
    Views:
    133
    peter
    Dec 10, 2012
  3. andrea crotti

    Re: forking and avoiding zombies!

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

    Re: forking and avoiding zombies!

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

Share This Page