Re: win2k, service, pg_ctl, popen, etc

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: win2k, service, pg_ctl, popen, etc
Дата
Msg-id 40FE8A2B.9050303@dunslane.net
обсуждение исходный текст
Ответ на Re: win2k, service, pg_ctl, popen, etc  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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

В списке pgsql-hackers-win32 по дате отправления:

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: win2k, service, pg_ctl, popen, etc
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: win2k, service, pg_ctl, popen, etc