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

12
LINES

< > BotCompany Repo | #1010665 // isProgramRunning - checks all VMs on this machine, but only for main programs

JavaX fragment (include)

static bool isProgramRunning(S progID) {
  for (DialogIO io : talkToAllVMs()) pcall {
    try {
      S pID = io.ask("what is the main program id?");
      if (sameSnippetID(pID, progID))
        true;
    } finally {
      io.close();
    }
  }
  false;
}

Author comment

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: 425 / 464
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1014650 - startProgramUnlessRunning - checks all VMs on this machine, but only for main programs