damonkohler / sl4a

SL4A brings scripting languages to Android by allowing you to edit and execute scripts and interactive interpreters directly on the Android device.
Apache License 2.0
2.43k stars 800 forks source link

Script control facade #176

Open damonkohler opened 9 years ago

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:28

Low priority; I couldn't find the button to change it.

Please implement a script control facade:

  scriptListRunning(): List running scripts. I suppose this could give us socket, PID, and time.

I had other thunks but I junked them while trying to describe them.

Can one VM process be joined to another with the joining script bring a thread 
with access to the joined script's threads? If so, then scriptJoinProcess(pid) 
so that we can modify global space and control threads. I would rather join a 
process to change a value then have to shut down the script for minor repairs. 
For some people this will be a security issue if it can be done purely by 
script so I have no objection to it being done by a dialog issued by SL4A which 
requires human response.

Frank

Original issue reported on code.google.com by frank.we...@gmail.com on 12 Jan 2011 at 7:34

Copied from original issue: damonkohler/android-scripting#504