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

9
LINES

< > BotCompany Repo | #244 // Start terminal

Lua code

require_power()

if os_isWindows() then
  os_nohup('start cmd') -- this works!
  return "Command prompt started."
else
  os_nohup('lxterminal')
  return "lxterminal started."
end

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 190 [visualize]

Snippet ID: #244
Snippet name: Start terminal
Eternal ID of this version: #244/1
Text MD5: bc6212f26f6750551d917fbe006c7648
Author: stefan
Category: Windows+Linux snippets
Type: Lua code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2014-03-15 23:12:18
Source code size: 190 bytes / 9 lines
Pitched / IR pitched: Yes / Yes
Views / Downloads: 825 / 251
Referenced in: [show references]