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

9
LINES

< > BotCompany Repo | #1001504 // makeExecutable

JavaX fragment (include)

static void makeExecutable(File file) ctex {
  if (!isWindows())
    try {
      makeExecutable_java7(file);
    } catch {
      warn("Java 6 fallback for makeExecutable");
      backtick("chmod a+rx " + bashQuote(file));
    }
}

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: #1001504
Snippet name: makeExecutable
Eternal ID of this version: #1001504/5
Text MD5: 446ed2e281cc9c7188829757bcdd44a9
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-06-30 23:09:14
Source code size: 237 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 498 / 790
Version history: 4 change(s)
Referenced in: [show references]