Re: win2k, service, pg_ctl, popen, etc

Bruce Momjian <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
Claudio Natoli wrote:
> 
> > It all happens in exec.c.  The test is simple in Unix.  If it isn't
> > simple in Win32, then we need to work harder to make it happen.
> 
> Are we amenable to replacing this popen call with one to CreateProcess with
> i/o handles redirected (as per the STARTUPINFO argument), or do we want to
> concentrate on a common *nix/win32 solution?

I think CreateProcess() is fine.  I can't think of another way to do it.
At least it will be isolated in exec.c.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [email protected]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [email protected] so that your
      message can get through to the mailing list cleanly
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.