netstar pushed a commit to branch master.

http://git.enlightenment.org/apps/evisum.git/commit/?id=c4b5465c486580e0a2408c26ad6b0b2889ab3dfd

commit c4b5465c486580e0a2408c26ad6b0b2889ab3dfd
Author: Alastair Poole <nets...@gmail.com>
Date:   Fri Sep 4 17:18:32 2020 +0100

    main: fork/exec after we shutdown...
---
 src/bin/main.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/main.c b/src/bin/main.c
index 0e9002c..03f5c03 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -140,14 +140,14 @@ main(int argc, char **argv)
         evisum_ui_del(ui);
      }
 
-   if (restart)
-     ecore_exe_run("evisum", NULL);
-
    elm_shutdown();
    config_shutdown();
    ecore_shutdown();
    eina_shutdown();
 
+   if (restart)
+     system("evisum");
+
    return 0;
 }
 

-- 


Reply via email to