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)

static L<Int> killAll(S pattern, O... _) {
  if (isWindows())
    ret windows_killAll(pattern, _);
  else
    ret unix_killAll(pattern, _);
}

static L<Int> killAll(final F1<S, Bool> f, O... _) {
  if (isWindows())
    ret windows_killAll(f, _);
  else
    ret unix_killAll(f, _);
}

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: 159 / 192
Referenced in: [show references]