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