On 14/11/2012 16:47, Stefan Scherfke wrote:
It seems like the sleep()-call cannot be interrupted. I added the changes you
described to my code. Under XP, Py33 32bit, the child process takes 10s to
terminate but doesn’t prints the last message. If I replace the sleep(10) call
with a "for i in rang
Am 14.11.2012 um 13:58 schrieb Tim Golden :
> On 13/11/2012 20:54, Stefan Scherfke wrote:
>> Hi Tim,
>>
>> Am 13.11.2012 um 21:44 schrieb Tim Golden :
>>
>>> On 12/11/2012 13:12, Stefan Scherfke wrote:
Hi all,
recently I’ve been playing around with sending and catching signals o
On 13/11/2012 20:54, Stefan Scherfke wrote:
> Hi Tim,
>
> Am 13.11.2012 um 21:44 schrieb Tim Golden :
>
>> On 12/11/2012 13:12, Stefan Scherfke wrote:
>>> Hi all,
>>>
>>> recently I’ve been playing around with sending and catching signals on
>>> Windows. I finally found out how to send and catch
On 13/11/2012 20:54, Stefan Scherfke wrote:
Hi Tim,
Am 13.11.2012 um 21:44 schrieb Tim Golden :
Possibly unhelpfully, I've just run your code on Python 2.7, 3.3 and 3.4, all
of which gave the same output:
parent waiting for child
child terminating
parent terminating
This is on WinXP SP3.
d
Hi Tim,
Am 13.11.2012 um 21:44 schrieb Tim Golden :
> On 12/11/2012 13:12, Stefan Scherfke wrote:
>> Hi all,
>>
>> recently I’ve been playing around with sending and catching signals on
>> Windows. I finally found out how to send and catch a BREAK event.
>>
>> With Python 2.7(.2), I only need o
On 12/11/2012 13:12, Stefan Scherfke wrote:
Hi all,
recently I’ve been playing around with sending and catching signals on
Windows. I finally found out how to send and catch a BREAK event.
With Python 2.7(.2), I only need os.kill(pid, signal.CTRL_C_EVENT) and
signal.signal(signal.SIGBREAK, hand
Hi all,
recently I’ve been playing around with sending and catching signals on
Windows. I finally found out how to send and catch a BREAK event.
With Python 2.7(.2), I only need os.kill(pid, signal.CTRL_C_EVENT) and
signal.signal(signal.SIGBREAK, handler). Alternatively, I can use
GenerateConso