Libraryless. Click here for Pure Java version (1318L/9K/33K).
!7 sS url; p { if (empty(url)) url = "http://tinybrain.de/" + psI(programID()); S path = firefoxExePath(); if (isWindows() && !fileExists(path)) fail("Firefox not found in " + path); nohup(bashQuote(path) + " " + bashQuote(url)); print("Firefox started?"); } sS firefoxExePath() { ret isWindows() ? "c:\\Program Files\\Mozilla Firefox\\Firefox.exe" : "firefox"; }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, wtqryiryparv
No comments. add comment
| Snippet ID: | #1007361 |
| Snippet name: | Simple Firefox starting test |
| Eternal ID of this version: | #1007361/3 |
| Text MD5: | 0ec64c81dbcc18d0f4b615f364352fd5 |
| Transpilation MD5: | 9db806e64dc3d926efec77944c0640c1 |
| Author: | stefan |
| Category: | javax / desktop |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-03-16 12:09:10 |
| Source code size: | 407 bytes / 18 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 827 / 998 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |