forked from enlightenment/edi
use waitpid() instead of wait()
This commit is contained in:
parent
76675f6298
commit
d671a68877
|
@ -8,6 +8,7 @@
|
||||||
#include "edi_private.h"
|
#include "edi_private.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <sys/wait.h>
|
||||||
|
|
||||||
#define _EDI_WELCOME_PROJECT_NEW_TABLE_WIDTH 4
|
#define _EDI_WELCOME_PROJECT_NEW_TABLE_WIDTH 4
|
||||||
|
|
||||||
|
@ -151,7 +152,7 @@ _edi_welcome_project_new_create_cb(void *data, Evas_Object *obj EINA_UNUSED, voi
|
||||||
execlp(script, script, fullpath, name, user, email, url, NULL);
|
execlp(script, script, fullpath, name, user, email, url, NULL);
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
wait(pid);
|
waitpid(pid, NULL, 0);
|
||||||
_edi_welcome_project_open(fullpath);
|
_edi_welcome_project_open(fullpath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue