Re: win2k, service, pg_ctl, popen, etc

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: win2k, service, pg_ctl, popen, etc
Date: 2004-07-21 15:22:19
Message-ID: 40FE8A2B.9050303@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

Bruce Momjian wrote:

>The version check is centralized in one place, exec.c, and I don't want
>to have different behaviors on Win32 and Unix if we can help it. Let's
>go with the system() into a temp file.
>
>
>

I had another thought - would the popen work for a nonconsole app (e.g.
a service) if we redirect stdin from the nul device (and maybe also do
stderr via 2>&1), so it doesn't try to inherit from the caller, which
doesn't have these?

cheers

andrew

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Andrew Dunstan 2004-07-21 15:24:48 Re: win2k, service, pg_ctl, popen, etc
Previous Message Dave Page 2004-07-21 14:58:35 Re: win2k, service, pg_ctl, popen, etc