[Github-comments] [geany] Alter spawn to return the error message only in error->message (#701)

zhekov notifications at xxxxx
Fri Oct 30 17:31:22 UTC 2015


> @@ -239,8 +239,9 @@ void tools_execute_custom_command(GeanyDocument *doc, const gchar *command)
>  	}
>  	else
>  	{
> -		geany_debug("spawn_sync() failed: %s", error->message);
> -		ui_set_statusbar(TRUE, _("Custom command failed: %s"), error->message);
> +		ui_set_statusbar(TRUE, _("Cannot execute custom command \"%s\": %s. "
> +			"Check the path setting in Preferences."), command, error->message);

Yes... I haven't defined new ones from a very long time, and forgot about this.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/701/files#r43529583
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151030/8dd28504/attachment.html>


More information about the Github-comments mailing list