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

13
LINES

< > BotCompany Repo | #1025143 // killAll - kills OS processes by search pattern

JavaX fragment (include)

1  
static L<Int> killAll(S pattern, O... _) {
2  
  if (isWindows())
3  
    ret windows_killAll(pattern, _);
4  
  else
5  
    ret unix_killAll(pattern, _);
6  
}
7  
8  
static L<Int> killAll(final F1<S, Bool> f, O... _) {
9  
  if (isWindows())
10  
    ret windows_killAll(f, _);
11  
  else
12  
    ret unix_killAll(f, _);
13  
}

Author comment

Began life as a copy of #1009587

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, ishqpsrjomds, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1025143
Snippet name: killAll - kills OS processes by search pattern
Eternal ID of this version: #1025143/1
Text MD5: cdc9f0b188786501982e7a9f05202236
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 22:46:21
Source code size: 294 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 235 / 265
Referenced in: [show references]