in reply to Windows 10 Command Prompt
It kills the command prompt where this code is called from.perl -e "for (qx[wmic process get processid,parentprocessid,executable +path ]){next unless m/perl.+\Q$$\E/;$parent=(split /\s+/,$_) [1] ;qx| +taskkill /PID $parent|} "
"Imaginary friends are a sign of a mental disorder if they cause distress, including antisocial behavior. Religion frequently meets that description"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Windows 10 Command Prompt
by bliako (Abbot) on Apr 29, 2020 at 12:31 UTC | |
by PilotinControl (Pilgrim) on Dec 24, 2020 at 15:16 UTC | |
|
Re^2: Windows 10 Command Prompt
by PilotinControl (Pilgrim) on Dec 24, 2020 at 21:33 UTC |