in reply to Re^3: How to portably stop processes?
in thread How to portably stop processes?
> > Did you test your "solution" against his setting?
> Yes, I have tested my answer on Windows XP, Windows 7, and Windows 10
To be clear, the OP is using Perl commands (!) like $child_pid = fork , that's the "setting" you have to test.
You just copied the whole documentation (~ 70 lines) for a Windows command named "taskkill", but not a bit of Perl code.
Now, if you say you were able to use taskkill to kill a $child_pid returned from a Perl ° fork without the problems the OP described, I (and others) would be very pleased to see that Perl code.
So please show us your test, no matter which version of Windows.
This would merit a lot of upvotes.
> why do you downvote my answer?
How do you want to know that I downvoted your answer?
Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery
°) please note the OP's use of the word "portably".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |