Thanks for this, I had tried the GenerateConsoleEvent api before without success, although reading that page the author is creating a remote thread to call the api from within the Apache process rather than externally so I'll play around with that.

Thanks,
Matt

Eric Covener wrote:
On Thu, May 28, 2009 at 7:19 AM, Matthew Gregory
<matthew+apa...@nogsnet.com> wrote:
My question is this: how can I gracefully close apache? The docs say to use
"httpd -k stop" but on our target platforms this always tries to stop the
service but we are actually running as a console. There is mention of using
kill on unix but I cannot find a suitable windows equivilant.

I've used e a little windows utility, SendSignal.exe, to send
cntrl-break to a similar a program in some automation.

http://www.latenighthacking.com/projects/2003/sendSignal/

Unfortunately it didn't look like any of the sysinsternals tools would
do it, but I may have just missed it.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to