1 | sbool unix_hasProcess(S pattern) {
|
2 | for (S s : values(psPidsAndCommands())) |
3 | if (containsWord_regexp(s, pattern)) |
4 | true; |
5 | false; |
6 | } |
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: | 403 / 443 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |