On Fri, May 21, 2010 at 11:06 AM, brian <brian.down...@yakkadesign.com> wrote:
> How do I launch a program from within leo?

There are many ways.  On Windows, you can use os.system:

import os
os.system('cd c:\\')
os.system('dir')

For more control, you can use Python's subprocess library:

http://docs.python.org/library/subprocess.html

As always, you can run such code from any Leo node.

Edward

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

Reply via email to