From 2262d09cf8476bdd33b3697c65aca04e5a69ac95 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Tue, 10 Jan 2006 08:46:33 +0000 Subject: [PATCH] dialog message wrong if ld.so errors (also 127 exit code). make more generic. SVN revision: 19690 --- src/bin/e_apps.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/bin/e_apps.c b/src/bin/e_apps.c index 727692e..90124c8 100644 --- a/src/bin/e_apps.c +++ b/src/bin/e_apps.c @@ -1836,13 +1836,12 @@ _e_apps_cb_exit(void *data, int type, void *event) a = ai->app; 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 */ e_error_dialog_show(_("Run Error"), _("Enlightenment was unable to run the program:\n" "\n" - "%s\n" - "\n" - "The command was not found\n"), + "%s\n"), a->exe); if (ai->expire_timer) ecore_timer_del(ai->expire_timer); free(ai); -- 2.7.4