[Github-comments] [geany/geany] geany_run_script_*****.bat must be CR+LF, not a LF (#1276)

purein notifications at xxxxx
Thu Oct 27 15:22:25 UTC 2016


Closing popup console window by pressing [x] instead of  "press any key" preventing  "del %0".
This:  

> str = g_strdup_printf("cd \"%s\"\n\n%s\n\n%s\ndel \"%%0\"\n\npause\n", working_dir, expanded_cmd, (autoclose) ? "" : "pause");

 generate  "pause" before  "del %0" and "pause" after "del".

fix:
**str = g_strdup_printf("cd \"%s\"\n\n%s\n\ndel \"%%0\"\n\n%s\n", working_dir, expanded_cmd, (autoclose) ? "" : "pause");**

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1276#issuecomment-256673483
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20161027/5514418e/attachment.html>


More information about the Github-comments mailing list