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

zhekov notifications at xxxxx
Sun Nov 1 14:23:57 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);

Fixed.

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


More information about the Github-comments mailing list