Post Reply

[Q] SL4A: Accessing Linux Shell from javascript

OP olli2000

20th January 2014, 07:09 AM   |  #1  
OP Junior Member
Thanks Meter: 0
1 posts
Join Date:Joined: Jan 2014
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, 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?


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

Advanced Search
Display Modes