Re: redirecting stdout and stderr for a windows service

Discussion in 'Python' started by Ian, Sep 6, 2010.

  1. Ian

    Ian Guest

    On 06/09/2010 15:29, Ian Hobson wrote:
    > Hi all,
    >

    Forget this.

    The problem is that it is a Windows Service, so it is not initialised in
    the normal way.

    PythonService.exe loads other code (named __main__) that loads the
    service proper, so the
    if test was never true!

    Regards

    Ian
     
    Ian, Sep 6, 2010
    #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. Jon Landenburer

    redirecting stderr and stdout

    Jon Landenburer, May 12, 2004, in forum: Perl
    Replies:
    1
    Views:
    11,265
    Joe Smith
    May 13, 2004
  2. Jan Knop
    Replies:
    4
    Views:
    1,113
    Jan knob
    Nov 24, 2003
  3. Michael McGarry
    Replies:
    1
    Views:
    645
    Michael Fuhr
    Dec 16, 2004
  4. Ian Hobson
    Replies:
    0
    Views:
    699
    Ian Hobson
    Sep 6, 2010
  5. it_says_BALLS_on_your forehead
    Replies:
    2
    Views:
    293
    Joe Smith
    Jan 10, 2006
Loading...

Share This Page