static void nativeFileSystemBrowser(File dir) { if (isLinux()) backtick("xdg-open " + bashQuote(dir)); else if (isWindows()) backtick(print("start \"\" " + winQuote(dir))); else if (isMac()) nohup("open " + bashQuote(dir)); else fail("File system browser implemented for your OS"); }
Began life as a copy of #1009695
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: | #1011160 |
Snippet name: | nativeFileSystemBrowser |
Eternal ID of this version: | #1011160/1 |
Text MD5: | cd582de067c08d94676d79e916afece3 |
Author: | stefan |
Category: | javax / io |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-16 17:46:40 |
Source code size: | 311 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 459 / 460 |
Referenced in: | [show references] |