New module

Federico Bergero fedebergero at gmail.com
Sun Aug 8 00:05:35 CEST 2010


Hi, I'm developing a new Scilab module named BackDoor.
The BackDoor module opens a backdoor to scilab workspace. When loaded,
the module creates a new thread that listens on a TCP port and
receives commands, and sends them to the scilab workspace.
It can be use to access and modify the workspace variables of a
running instance of scilab from ANOTHER PROCESS. Of course it's a
security risk, but one should load this module if it's in a safe
environment.

I'm having some troubles with two major problems and any help will be
appreciated
* When sending commands to Scilab through SendScilabJob, the ans
variable does not get assigned to the result of the command.
* The module (as it creates another thread) is not thread safe with
the GUI, and it can lead to a freeze of Scilab

The source and (little) doc is here
http://forge.scilab.org/index.php/p/BackDoor/

Thanks in advance
Fede
-- 
I find television very educational. Every time someone switches it on,
I go into another room and read a good book.



More information about the dev mailing list