edi_main: fix ecore_exe_run call.

This commit is contained in:
Alastair Poole 2020-08-13 18:15:28 +01:00
parent 9ff3615165
commit a24b6e00ad
1 changed files with 6 additions and 1 deletions

View File

@ -1245,7 +1245,12 @@ static void
_edi_menu_scm_log_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
void *event_info EINA_UNUSED)
{
ecore_exe_run(eina_slstr_printf("edi_scm --log ."), NULL);
char *workdir = getcwd(NULL, 0);
chdir(edi_project_get());
ecore_exe_run(eina_slstr_printf("edi_scm --log"), NULL);
chdir(workdir);
free(workdir);
}
static void