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

12
LINES

< > BotCompany Repo | #1007494 // Run jhat

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (4573L/31K).

1  
!7
2  
3  
p-type {
4  
  File outputFile = incrementFileName(prepareCacheProgramFile("jhat.out"));
5  
  makeEmptyFile(outputFile);
6  
  TailFile tail = tailFile(outputFile, 1000, voidfunc(S s) {
7  
    printNoNewLine(fixNewLines(s));
8  
  });
9  
  // child process should exit when we exit
10  
  backtickToFile("jhat " + smartJoin(args), outputFile);
11  
  tail.stop();
12  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1007494
Snippet name: Run jhat
Eternal ID of this version: #1007494/6
Text MD5: f348f6b7f9be9620e12722d189cf5017
Transpilation MD5: a9136143c580f09c5e9e37efd392cf0c
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-31 19:00:46
Source code size: 349 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 622 / 1702
Version history: 5 change(s)
Referenced in: [show references]