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

9
LINES

< > BotCompany Repo | #246 // Start Firefox (Linux and possibly Windows too)

Lua code

require_power()

if os_isWindows() then
  os_nohup('"c:\\Program Files\\Mozilla Firefox\\Firefox.exe"')
else
  os_nohup('firefox')
end

return "Firefox started. This should usually work."

Author comment

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

Image recognition results

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: 816 / 300
Referenced in: [show references]