[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Break out of program in interpreter
- From: Dirk Laurie <dirk.laurie@...>
- Date: Tue, 14 May 2013 15:52:33 +0200
2013/5/14 Jose Torre-Bueno <jtorrebueno@cox.net>:
> Yes that does work. However
>
> while true do os.execute('echo hello world') end
>
> cannot be stopped with ^C. The only way to end it is to
> kill the whole terminal session.
I assume you are talking Unix/bash.
You can pause the program with ^Z, and kill the background job.