The Solution to Ctrl-C problems

patrickinminneapolis patrickinminneapolis@gmail.com
Wed Aug 1 17:21:00 GMT 2007


This isn't exactly a cygwin fix, but this is what worked for my problem.  

I needed a consoleapp launcher to start up when the machine starts. 
Then I use ssh to give consolelauncher arguments of what console app to
launch
Then I use ssh to launch another program I wrote in C# which uses
AttachConsole and GenerateCtrlCEvent to send a CtrlC to the desired console.
>From there I control the console with stdin and stdout redirection as one
would expect. 

Kind of a pain in the 

but whatever. 
-- 
View this message in context: http://www.nabble.com/kill--2-is-too-powerful-tf4072624.html#a11950121
Sent from the Cygwin Users mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list