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

7
LINES

< > BotCompany Repo | #1006033 // evalInCertainVM - make sure a VM with a certain name runs and eval Java in it

JavaX fragment (include)

1  
// vmProg = vm program to start if vmName is not found
2  
static O evalInCertainVM(S vmName, S vmProg, S java) {
3  
  vmName = "This is a JavaX VM. " + vmName;
4  
  startBotSeparateVM(vmName, vmProg);
5  
  S cmd = format("very quick java *", java);
6  
  ret safeUnstructure(matchOK(sendToLocalBot(vmName, cmd)));
7  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1006033
Snippet name: evalInCertainVM - make sure a VM with a certain name runs and eval Java in it
Eternal ID of this version: #1006033/1
Text MD5: 8bb2efbfa12deefe0e38dc2af10c1065
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-15 08:02:57
Source code size: 305 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 509 / 539
Referenced in: [show references]