delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <11950121.post@talk.nabble.com> |
Date: | Wed, 1 Aug 2007 10:21:48 -0700 (PDT) |
From: | patrickinminneapolis <patrickinminneapolis AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | The Solution to Ctrl-C problems |
In-Reply-To: | <11574352.post@talk.nabble.com> |
MIME-Version: | 1.0 |
X-Nabble-From: | patrickinminneapolis AT gmail DOT com |
References: | <11574352 DOT post AT talk DOT nabble DOT com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |