nguyenquanghai1993 / openhab

Automatically exported from code.google.com/p/openhab
GNU General Public License v3.0
0 stars 0 forks source link

Exec Command with variable input #391

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. Feature Description

It would be fine, if you can execute a linux/windows via a script and define 
the command in a stringvariable 

2. Example Use Case

command="/home/user/.../tool -a 99"
exec(command)

Original issue reported on code.google.com by milymat85 on 2 Aug 2013 at 8:54

GoogleCodeExporter commented 8 years ago
Implemented as executeCommandLine(String) and documented on wiki page 
https://code.google.com/p/openhab/wiki/Actions?ts=1375469794&updated=Actions.

Original comment by kai.openhab on 2 Aug 2013 at 6:58