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

14
LINES

< > BotCompany Repo | #1003780 // scanRunLog - get full list of run programs (with args)

JavaX fragment (include)

1  
static L<S> scanRunLog() {
2  
  ret scanRunLog(#1000825);
3  
}
4  
5  
static L<S> scanRunLog(S runnerID) {
6  
  new L<S> log;
7  
  new Matches m;
8  
  for (S s : scanLog(runnerID, "run.log")) pcall {
9  
    if "*: Running *" {
10  
      log.add(addPrefix("#", trim(m.unq(1))));
11  
    }
12  
  }
13  
  ret log;
14  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003780
Snippet name: scanRunLog - get full list of run programs (with args)
Eternal ID of this version: #1003780/1
Text MD5: 39d88e29d4a4b9da841a7ca810aa3e87
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-28 20:45:34
Source code size: 285 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 582 / 578
Referenced in: [show references]