dialog message wrong if ld.so errors (also 127 exit code). make more generic.
SVN revision: 19690
This commit is contained in:
parent
72abed451a
commit
2262d09cf8
|
@ -1836,13 +1836,12 @@ _e_apps_cb_exit(void *data, int type, void *event)
|
||||||
a = ai->app;
|
a = ai->app;
|
||||||
if (!a) return 1;
|
if (!a) return 1;
|
||||||
|
|
||||||
|
/* FIXME: maybe we could capture stdout/stderr and display it here? */
|
||||||
if (ev->exit_code == 127) /* /bin/sh uses this if cmd not found */
|
if (ev->exit_code == 127) /* /bin/sh uses this if cmd not found */
|
||||||
e_error_dialog_show(_("Run Error"),
|
e_error_dialog_show(_("Run Error"),
|
||||||
_("Enlightenment was unable to run the program:\n"
|
_("Enlightenment was unable to run the program:\n"
|
||||||
"\n"
|
"\n"
|
||||||
"%s\n"
|
"%s\n"),
|
||||||
"\n"
|
|
||||||
"The command was not found\n"),
|
|
||||||
a->exe);
|
a->exe);
|
||||||
if (ai->expire_timer) ecore_timer_del(ai->expire_timer);
|
if (ai->expire_timer) ecore_timer_del(ai->expire_timer);
|
||||||
free(ai);
|
free(ai);
|
||||||
|
|
Loading…
Reference in New Issue