ssl_util_readfilter() failed when running as NT service

2000-12-31 Thread Andrew C. Wong
I found this same problem being mentioned by Steve Hay in Auguest. But the hack doesn't work for me. My guess is that when running as an NT service, there is not stdin/stdout/stderr assoicated with the process (correct me if I am wrong.) So dup/dup2 redirection failed to work and thus

Re: ssl_util_readfilter() failed when running as NT service

2000-11-22 Thread Steve Hay
"Andrew C. Wong" wrote: I found this same problem being mentioned by Steve Hay in Auguest. But the hack doesn't work for me. My guess is that when running as an NT service, there is not stdin/stdout/stderr assoicated with the process (correct me if I am wrong.) So dup/dup2 redirection

Re: ssl_util_readfilter() failed when running as NT service

2000-11-22 Thread Andrew C. Wong
Hi Steve, Thanks for your hint. I have it working by using a pipe in ssl_util.c instead. Andrew ssl_util_ppopen_child() { ... CreatePipe(hPipeRead, hPipeWrite, sa, 0); .. si.hStdOutput = hPipeWrite; .. if (CreateProcess(NULL, pCommand, NULL, NULL, TRUE, 0, ... }

ssl_util_readfilter() failed when running as NT service

2000-11-21 Thread Andrew C. Wong
I found this same problem being mentioned by Steve Hay in Auguest. But the hack doesn't work for me. My guess is that when running as an NT service, there is not stdin/stdout/stderr assoicated with the process (correct me if I am wrong.) So dup/dup2 redirection failed to work and thus