HomeGenie Forum
Automation Program Plugins and Wizard Scripting => Help => Topic started by: sbash on February 14, 2014, 03:36:56 PM
-
Greetings,
I have a handful of various scripts which run within the Linux OS to manage some features of my home automation and interact with the various servers and computers I have scattered throughout my house. Is it possible to call OS level scripts from HomeGenie?
Thanks!
-
I think you would need to use the Execute method, but I haven't tried that. Other sources suggest a different approach.
http://mono.1490590.n4.nabble.com/excute-linux-command-under-mono-C-td1533563.html
http://stackoverflow.com/questions/206323/how-to-execute-command-line-in-c-get-std-out-results
-
I'm also interested in calling OS processes from HG (Windows OS).
Can you give an example?
Thank you!
-
I have not had a chance to play around with this yet, I will report back my results when I can...
-
Hi,
hg shouldn't allow this.
The only allowed way for communicating with other applications and other "things" should be using helper classes.
For example using a tcp connection or an http one.
You're still free to hack =) let me know if any of you achieve that.
Cheers,
g.