This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: inetd-like Windows processes with CYGWIN?
- From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr at ncbi dot nlm dot nih dot gov>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Fri, 26 Jul 2013 20:07:34 +0000
- Subject: RE: inetd-like Windows processes with CYGWIN?
- References: <5F8AAC04F9616747BC4CC0E803D5907D0C3BE8BE at MLBXv04 dot nih dot gov>
> Also, I noticed that if I use the following command as "the native
> Windows process",
>
> /cygdrive/c/Windows/system32/cmd.exe /C "COPY CON"
>
> I see (the expected) pairs of CMD.EXE/conhost.exe in Windows Task Manager
> created per each request (none of CMD.EXEs are exiting as if waiting
> for the COPY commands to finish -- which is weird), but when the main
> CYGWIN process gets killed, it only clears up "CMD.EXE" leaving a bunch
> of "conhost.exe" behind, and they seem to hang around forever (manual
> cleanup is required).
Retracting this (partially): there is no leaking of "conhost.exe",
only that "cmd.exe" waits for "copy" to finish (even though the requestor
may have been long gone).
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple