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

13
LINES

< > BotCompany Repo | #1022673 // standalone_runOSWithInitialModules

JavaX fragment (include)

svoid standalone_runOSWithInitialModules(S osID, LS initialModuleIDs, O... _) {
  print("Running OS.");
  
  CompilerBot.verbose = true;
  runAsMainWithParams(osID, paramsPlus((O[]) optPar osParams(_),
    _userHome := userHome(),
    initialModules_override := voidfunc(O os) {
      dm_makeOrShowModules(initialModuleIDs)
    },
    restarter_override := r {
      print("WOULD RESTART")
    }));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1022673
Snippet name: standalone_runOSWithInitialModules
Eternal ID of this version: #1022673/2
Text MD5: 9fa5c6a407bc0834023b1e33ac19499d
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-31 23:33:21
Source code size: 412 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 331 / 360
Version history: 1 change(s)
Referenced in: [show references]