FORUMS
Post Reply Subscribe to Thread Email Thread

[Q] SL4A: Accessing Linux Shell from javascript

20th January 2014, 06:09 AM |#1  
OP Junior Member
Thanks Meter: 0
 
More
Hi everybody!

I recently bumped into SL4A.

For automating some things (wake up and send to sleep my NAS, mount it as local drive) from my android tv box its perfect.

The things i want to automate can be done via Linux shell commands and i would like to implement these functions with a nice GUI in HTML and Javascript.

In Python you do it with os.system i believe, but the problem is, that i am a very experienced VB.net, HML and Javascript programmer, but have no clue about Python.

So is there a way to acces the Linux shell directly from javascript or do i have to write a kind of python interface to connect from javascript to the shell?


Greetz

Olli
 
 
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes