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

6
LINES

< > BotCompany Repo | #1001470 // programIsRunning

JavaX fragment (include)

1  
static boolean programIsRunning(S id) {
2  
  id = "" + parseSnippetID(id);
3  
  for (ProgramScan.Program p : quickBotScan())
4  
    if (p.helloString.startsWith("This is a JavaX VM") && isVMRunningProgram(p.port, id)) return true;
5  
  return false;
6  
}

Author comment

TODO: check multiple program VMs

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: #1001470
Snippet name: programIsRunning
Eternal ID of this version: #1001470/1
Text MD5: f199cd3d45ed616a9caab8e1ab62077a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-10-17 15:14:16
Source code size: 244 bytes / 6 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 682 / 879
Referenced in: [show references]