S
Stéphane Métais
Hello,
I am writing a perl script using fork().
The parent process manages the GUI (with Tk) while the child executes
some work (the 2 processes communicate through a pipe)
But i am facing 3 issues :
1) When terminating, the child causes the following error :
Unable to register TclNotifier window class
Tcl_Panic at my_script line xxx.
This error aborts the whole script.
In order to avoid this, the child doesn't die but tells to the parent
that he has finished and sleeps for ever.
So the parent process must now kill the child process ...
2) ... but when the parent process tries to kill the child process (in
order to abort the work or during the sleep), the child doesn't die.
3) When the parent exits, the script doesn't (perhaps because of the
sleeping child process ?)
So my question : does the "kill" command works properly on Windows 2000
? If yes, how ?
(nb: i use PERL v5.6.1, build 635, ActiveState distribution)
TIA
I am writing a perl script using fork().
The parent process manages the GUI (with Tk) while the child executes
some work (the 2 processes communicate through a pipe)
But i am facing 3 issues :
1) When terminating, the child causes the following error :
Unable to register TclNotifier window class
Tcl_Panic at my_script line xxx.
This error aborts the whole script.
In order to avoid this, the child doesn't die but tells to the parent
that he has finished and sleeps for ever.
So the parent process must now kill the child process ...
2) ... but when the parent process tries to kill the child process (in
order to abort the work or during the sleep), the child doesn't die.
3) When the parent exits, the script doesn't (perhaps because of the
sleeping child process ?)
So my question : does the "kill" command works properly on Windows 2000
? If yes, how ?
(nb: i use PERL v5.6.1, build 635, ActiveState distribution)
TIA