[Anjuta-list] using execl().. how?
- From: Luthfi <a luthfi gmail com>
- To: anjuta-list lists sourceforge net
- Subject: [Anjuta-list] using execl().. how?
- Date: Sat Apr 9 04:44:01 2005
Hi all, i am new using anjuta.
i want to make an interface to execute several executable binary file
when click a button, i use this code in callback.c:
{
char *arg;
*arg=0;
fork();
execl("/Project/form1",arg);
}
when i run the program, after click the button, form1 is executed, but
opened twice. form1 doesn't have any argument.
if i del fork(), after clicking the button, an error message appear
and form1 could not be opened.
I need help. i want it only opened once after clicking the button.
Thanks.
Luthfi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]