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

13
LINES

< > BotCompany Repo | #1022673 // standalone_runOSWithInitialModules

JavaX fragment (include)

1  
svoid standalone_runOSWithInitialModules(S osID, LS initialModuleIDs, O... _) {
2  
  print("Running OS.");
3  
  
4  
  CompilerBot.verbose = true;
5  
  runAsMainWithParams(osID, paramsPlus((O[]) optPar osParams(_),
6  
    _userHome := userHome(),
7  
    initialModules_override := voidfunc(O os) {
8  
      dm_makeOrShowModules(initialModuleIDs)
9  
    },
10  
    restarter_override := r {
11  
      print("WOULD RESTART")
12  
    }));
13  
}

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: 253 / 289
Version history: 1 change(s)
Referenced in: [show references]