Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

12
LINES

< > BotCompany Repo | #1009619 // Test os_killAll - kill processes by description

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Uses 8038K of libraries. Click here for Pure Java version (5051L/34K/116K).

!7

p {
  set backtick_verbose;
  os_killAll(func(S cmd) -> Bool {
    if (regexpFinds("[/ ]" + psI(#1012704), cmd)) {
      print("! " + cmd);
      true;
    }
    false;
  });
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, wtqryiryparv

No comments. add comment

Snippet ID: #1009619
Snippet name: Test os_killAll - kill processes by description
Eternal ID of this version: #1009619/12
Text MD5: cd0bd5e6761bd026c90e7b3fb916972f
Transpilation MD5: 1c1a0130a92591749fa7c92fd588a037
Author: stefan
Category: javax / windows
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-10 18:32:53
Source code size: 191 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 482 / 627
Version history: 11 change(s)
Referenced in: #1012708 - hardKillProgram - might kill too much, but it sure is thorough. add level := 9 to kill harder on Linux