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)

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

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: 445 / 468
Referenced in: [show references]