in reply to Re: Making sure child process dies with parent on Win32
in thread Making sure child process dies with parent on Win32
The OnDestroy is a Tk routine, should do the trick. Get rid of the myexit sub and use this, you should be Ok. kill does work - just make sure you are killing the right pid :-)$main_window->OnDestroy(sub { kill 15 => $kid; exit; } );
|
|---|