On Sun, Mar 11, 2018 at 12:45 PM, Edward K. Ream <edream...@gmail.com>
> @button load-ekr @key=F5
> @language python
> # Open ekr.leo in a separate process.
> import os
> On Windows, F5 will execute e.bat, which opens ekr.leo. The command runs
> in the same console as Leo itself, but in a separate process that uses the
> latest Leo code. Leo remains responsive.
Oops. Leo hangs. This is opens a *new* console.
os.system("start cmd /c t")
t.bat ends with the exit command, so the console goes away when I close
Leo. So now everything happens from Leo itself, and no consoles need to be
closed by hand afterwards.
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.