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.bail@free.fr>
This commit is contained in:
Dieter Roelants 2013-03-11 10:27:20 +09:00 committed by Cedric BAIL
parent e12cdeac14
commit fa73db7efa
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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)"),