inetd-like Windows processes with CYGWIN?

2013-07-26 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C]
Hi, I'm having problems with getting the following setup to work: I have a CYGWIN process that listens on a socket (TCP port); upon sensing an incoming connection (via select()), it accepts, forks, and attaches the connected socket (via dup2()) to both STDIN and STDOUT of the (still CYGWIN)

RE: inetd-like Windows processes with CYGWIN?

2013-07-26 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C]
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

Re: windows processes in CygWin

2006-03-08 Thread Brett Serkez
and CygWin with a script (cobol). i want to monitor the processes both in CygWin and Windoss on cpu usage. we use cobol to extract the processes running under CygWin. i'am looking for a way to monitor the Windows processes in CygWin. Ok, so my understanding is you want to run a utility to output

Re: windows processes in CygWin

2006-03-08 Thread Igor Peshansky
the processes that are running on Windows 2003 and CygWin with a script (cobol). i want to monitor the processes both in CygWin and Windoss on cpu usage. we use cobol to extract the processes running under CygWin. i'am looking for a way to monitor the Windows processes in CygWin. Ok, so my