sbool unix_hasProcess(S pattern) { for (S s : values(psPidsAndCommands())) if (containsWord_regexp(s, pattern)) true; false; }
Began life as a copy of #1009587
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1026380 |
Snippet name: | unix_hasProcess |
Eternal ID of this version: | #1026380/4 |
Text MD5: | 47a3cb0cab7b15c048b87c2b6e99603d |
Author: | stefan |
Category: | javax / unix |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-01-01 11:48:27 |
Source code size: | 145 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 184 / 218 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |