1 | require_power() |
2 | |
3 | if os_isWindows() then |
4 | os_nohup('start cmd') -- this works!
|
5 | return "Command prompt started." |
6 | else |
7 | os_nohup('lxterminal')
|
8 | return "lxterminal started." |
9 | 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: | 1073 / 313 |
| Referenced in: | [show references] |