1 | static bool isProgramRunning(S progID) { |
2 | for (DialogIO io : talkToAllVMs()) pcall { |
3 | try { |
4 | S pID = io.ask("what is the main program id?"); |
5 | if (sameSnippetID(pID, progID)) |
6 | true; |
7 | } finally { |
8 | io.close(); |
9 | } |
10 | } |
11 | false; |
12 | } |
Began life as a copy of #1010664
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1010665 |
Snippet name: | isProgramRunning - checks all VMs on this machine, but only for main programs |
Eternal ID of this version: | #1010665/3 |
Text MD5: | 58d79c98425379cb9b6b0e8f1a5c2630 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-24 14:34:36 |
Source code size: | 267 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 431 / 470 |
Version history: | 2 change(s) |
Referenced in: | [show references] |