Gracefully stopping an infinite loop after a particular keyboard input
- From: "Ranjan" <ranjan.kapoor@xxxxxxxxx>
- Date: 15 Dec 2006 01:23:39 -0800
I am having a script that is doing some tests continuously. I am
running it from cygwin under Windows OS and is currently using CTRL+C
to stop the script. But by "ctrl+c" the script stops at that very
moment. In between there are some read write operations going on files
and when the script stops atonce.
I want that when I press any key say "Q" from keyboard , the script
should complete that particular loop and then stop. (Hope I am able to
clarify my problem).
.
- Follow-Ups:
- Prev by Date: Re: Why I need to click twice to destroy a top level window?
- Next by Date: Re: External IP address
- Previous by thread: Why I need to click twice to destroy a top level window?
- Next by thread: Re: Gracefully stopping an infinite loop after a particular keyboard input
- Index(es):
Relevant Pages
|