1 | require_power() |
2 | |
3 | if os_isWindows() then |
4 | os_nohup('"c:\\Program Files\\Mozilla Firefox\\Firefox.exe"')
|
5 | else |
6 | os_nohup('firefox')
|
7 | end |
8 | |
9 | return "Firefox started. This should usually work." |
Now tested on Linux+Windows.
test run test run with input download show line numbers
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Recognizer | Recognition Result | Visualize | Recalc |
|---|---|---|---|
| #308 | 195 | [visualize] |
| Snippet ID: | #246 |
| Snippet name: | Start Firefox (Linux and possibly Windows too) |
| Eternal ID of this version: | #246/1 |
| Text MD5: | 08b83a5791a502ae9945831b43d84fb4 |
| Author: | stefan |
| Category: | Windows+Linux snippets |
| Type: | Lua code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2014-03-14 10:14:28 |
| Source code size: | 195 bytes / 9 lines |
| Pitched / IR pitched: | Yes / Yes |
| Views / Downloads: | 1071 / 352 |
| Referenced in: | [show references] |