Dear Leo Developer, I created one button in Leo, the corresponding script is:
c.save() g.execute_shell_commands(['git -C /Users/wwww/leodata add austin.leo', 'git -C /Users/wwww/leodata commit -mupdates', '&git -C /Users/wwww/leodata push']) Basically, it will save the changes and do a git add/commit/push. However, I notice the script will leave zombie process (git). See below ps output. Austin-MacBook-Pro:leodata wangxu$ ps -ef | grep git 501 88822 20009 0 2:00AM ttys000 0:00.00 grep git 501 88678 88353 0 1:57AM ttys001 0:00.00 (git) 501 88683 88353 0 1:57AM ttys001 0:00.00 (git) Do I need to do something extra in g.execute_shell_commands ? BR,Austin -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAEpKVv-LJuC6ozcmDe%2BG0Ts1Lt9jU%3DBPASs4FyuHu-GdHgVH5A%40mail.gmail.com.
