Libraryless. Click here for Pure Java version (10965L/68K).
1 | static S backtickInSuperUserVM(S cmd, bool uninterruptible default false) { |
2 | if (isRoot()) { |
3 | temp tempSetTL(backtick_uninterruptable, uninterruptible); |
4 | ret backtickToConsole_returnOutput(cmd); |
5 | } |
6 | |
7 | //S s = sendToSuperUserVM("please run program * with arguments *", #1009066, ll(cmd)); |
8 | S s = sendToSuperUserVM2(uninterruptible ? "backtick uninterruptible *" : "backtick *", cmd); |
9 | assertTrue(startsWith(s, "OK ")); |
10 | ret unquote(substring(s, 3)); |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, uelavcdoioby, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009067 |
Snippet name: | backtickInSuperUserVM |
Eternal ID of this version: | #1009067/12 |
Text MD5: | a8c732f0f9275ee2e3930e8c0eb2847d |
Transpilation MD5: | 71f260fe5b7ac66b6a5d03533d097d86 |
Author: | stefan |
Category: | javax / os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-27 01:49:01 |
Source code size: | 475 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 475 / 640 |
Version history: | 11 change(s) |
Referenced in: | [show references] |