Re: Sending CTRL-C event to console application

2007-02-09 Thread Daniel Clark
On Feb 9, 9:12 am, "Daniel Clark" <[EMAIL PROTECTED]> wrote: > I'm going to try taking a different approach by using a GUI Automation > tool like WATSUP [1] or pywinauto[2] next. This works: AutoIT [1] code (compiled to an executable): Run(@ComSpec & ' /k

Re: Sending CTRL-C event to console application

2007-02-09 Thread Daniel Clark
On Feb 8, 9:12 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Thu, 08 Feb 2007 15:54:05 -0300, Daniel Clark <[EMAIL PROTECTED]> > escribió: > > I have a Windows command line based application that only shuts down > > cleanly if it sees "C

[Windows] Sending CTRL-C event to console application

2007-02-08 Thread Daniel Clark
I have a Windows command line based application that only shuts down cleanly if it sees "CTRL-C" on the console. I need to automate the running of this application, but still allow the user sitting at the machine to cancel the process cleanly if he/she needs to. In Unix this would be a tiny shell s