Hello all!

I'm looking into building a framework around system tools using Leo.
The basic concept would be that Leo would execute commands (via a
thread/subprocess), and receive some sort of callback once the process
has exited, and then use information gathered while the process was
running to create / update nodes in the outline.

Is there a standard way (or any way at all) that manages to do
something like this? I managed to get Leo to spawn some threads that
will do the work, but I have no idea how to notify Leo when the
process is exited so it can attempt to update the nodes. I tried
making a callback function to update the nodes, but since it gets run
from the spawned thread, it is unable to do any updates to the Leo (it
just crashes).

Also note that using a thread / subprocess is important for long-
running programs like nmap. If they aren't run in another thread they
freeze up Leo until they are complete.

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to