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

4
LINES

< > BotCompany Repo | #1033450 // currentProcessCommand - which java.exe are we running?

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (45L/1K).

1  
sS currentProcessCommand() {
2  
  ProcessHandle processHandle = ProcessHandle.current();
3  
  ret getVar(processHandle.info().command());
4  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033450
Snippet name: currentProcessCommand - which java.exe are we running?
Eternal ID of this version: #1033450/4
Text MD5: 542a6dc2063db9428b8b7aa539c7a8f5
Transpilation MD5: 38e3a997283bff8ec4b18b9000dc1cac
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-28 18:11:32
Source code size: 136 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 156 / 226
Version history: 3 change(s)
Referenced in: [show references]