> It's not the same as a terminal which follows the path of the active > node, but adding a "command shell here" button is a useful facsimile: > > http://groups.google.com/group/leo-editor/browse_thread/thread/dd063fbdbc073b44?fwc=1&pli=1 > > though you'll need to change the Popen line to do the right thing on linux.
I added the recipe to the wiki, http://leo.zwiki.org/CommandShellHere, and spent some time trying to decuce the linux equivalent. No luck. >From here[1] I would expect something like the below to work but all I get is `OSError: [Errno 2] No such file or directory` Popen(r'/bin/bash --login -c "pushd %s;bash"' % path) [1] http://superuser.com/questions/115587/how-do-i-create-a-shortcut-that-opens-cygwin-bash-shell-on-a-directory-of-my-cho -- -matt -- 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.
