Libraryless. Click here for Pure Java version (3588L/25K).
1 | static void windows_killProcesses(Collection<Int> pids) { |
2 | assertWindows(); |
3 | if (empty(pids)) ret; |
4 | LS pids2 = allToString(pids); |
5 | S s = joinWithSpaces(addPrefixToAll("/PID ", pids2)); |
6 | print("Killing processes: " + s); |
7 | print(backtick("taskkill " + s)); |
8 | } |
Began life as a copy of #1009586
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009617 |
Snippet name: | windows_killProcesses |
Eternal ID of this version: | #1009617/6 |
Text MD5: | 3e4321d950b102a263d86e9fc42146da |
Transpilation MD5: | 2c8d1d224b78d3caa58d913f4be79701 |
Author: | stefan |
Category: | javax / unix |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-09-08 23:03:05 |
Source code size: | 269 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 474 / 582 |
Version history: | 5 change(s) |
Referenced in: | [show references] |