cedric pushed a commit to branch enlightenment-0.17.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=fa73db7efa207dc0149c9077a9861ffaac4b1cba

commit fa73db7efa207dc0149c9077a9861ffaac4b1cba
Author: Dieter Roelants <diete...@bsdusr.net>
Date:   Mon Mar 11 10:27:20 2013 +0900

    portability: don't rely on bash or zsh behavior.
    
    This force the command to be run with exec and prevent them
    for staying alive after startup or restart.
    
    Signed-off-by: Cedric BAIL <cedric.b...@free.fr>
---
 src/bin/e_init.c                     | 2 +-
 src/modules/temperature/e_mod_main.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_init.c b/src/bin/e_init.c
index 202f104..4db1431 100644
--- a/src/bin/e_init.c
+++ b/src/bin/e_init.c
@@ -68,7 +68,7 @@ e_init_show(void)
    else ver = strdup("XvX");
 
    snprintf(buf, sizeof(buf),
-            "%s/enlightenment/utils/enlightenment_init \'%s\' \'%i\' \'%s\' 
\'%s\'",
+            "exec %s/enlightenment/utils/enlightenment_init \'%s\' \'%i\' 
\'%s\' \'%s\'",
             e_prefix_lib_get(), theme,
             e_config->font_hinting, tit, ver);
    printf("RUN INIT: %s\n", buf);
diff --git a/src/modules/temperature/e_mod_main.c 
b/src/modules/temperature/e_mod_main.c
index 6ab678d..703348f 100644
--- a/src/modules/temperature/e_mod_main.c
+++ b/src/modules/temperature/e_mod_main.c
@@ -321,7 +321,7 @@ temperature_face_update_config(Config_Face *inst)
        if (!inst->tempget_exe) 
          {
             snprintf(buf, sizeof(buf),
-                     "%s/%s/tempget %i \"%s\" %i", 
+                     "exec %s/%s/tempget %i \"%s\" %i", 
                      e_module_dir_get(temperature_config->module), 
MODULE_ARCH, 
                      inst->sensor_type,
                      (inst->sensor_name ? inst->sensor_name : "(null)"),

-- 


Reply via email to