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
| 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: | 1074 / 313 |
| Referenced in: | #240 - Master chat tree #3000238 - Answer for stefanreich (>> t power bot) #3000382 - Answer for ferdie (>> t = 1, f = 0) |