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

Reply via email to