Libraryless. Click here for Pure Java version (7433L/44K).
// Can probably also use desktopOpen() svoid startPlatformFileManager(File dir) { // Chasing the super weird bug on Linux that starts Stefan's OS when calling this function if (isOnPATH("gio")) //ret with linux_runGIO("open " + pqO(dir)); ret with linux_gioOpen(dir); S cmd = isWindows() ? "start" : isMac() ? "open" : isOnPATH("gio") ? "gio open" : firstCmdOnPATH_mandatory("xdg-open"); cmd += " " + pqO(dir); print("Starting platform file manager"); //nohup(cnd); backtick_verbose(cmd); print("Platform file manager exited"); }
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1026331 |
| Snippet name: | startPlatformFileManager |
| Eternal ID of this version: | #1026331/9 |
| Text MD5: | 474f0eef1895ce7e2590a3abb90a67b1 |
| Transpilation MD5: | 9f5dd937ef5290a5f96aacbbff0ee22b |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-01-28 23:44:13 |
| Source code size: | 586 bytes / 17 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 436 / 610 |
| Version history: | 8 change(s) |
| Referenced in: | [show references] |