static void unix_killProcesses(Collection<Int> pids, O... _) { if (empty(pids)) ret; L<S> pids2 = allToString(pids); S s = joinWithSpaces(pids2); print("Killing processes: " + s); Int level = cast optPar level(_); backtick("kill " + (level != null ? "-" + level + " " : "") + s); }
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: | #1009586 |
Snippet name: | unix_killProcesses |
Eternal ID of this version: | #1009586/5 |
Text MD5: | e37edd5e76d29d99d5df7eecdbf34d93 |
Author: | stefan |
Category: | javax / unix |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-05-15 17:28:30 |
Source code size: | 300 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 492 / 543 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1009617 - windows_killProcesses |