Remove All Ads from XDA

[Q] SL4A: Accessing Linux Shell from javascript

1 posts
Thanks Meter: 0
By olli2000, Junior Member on 20th January 2014, 06:09 AM
Post Reply Email Thread
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

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes