Re: Fork with gtk+-2.0
- From: "Alphex K." <alphex crew org ru>
- To: siffi28 yahoo com
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Fork with gtk+-2.0
- Date: Mon, 5 Jan 2004 15:04:15 +0300
if U need some help now, read this reply to your question
I'm think that some code are not correct, I write it an another way
like this:
void
on_button_clicked (GtkButton *button,
gpointer user_data)
{
pid_t pid;
pid = fork();
if ((pid=fork())==0)
execlp("/bin/xvkbd", "-geometry 800x185-0-0", NULL);
else
g_print("Fork failed\n");
}
I think that is a right way ;-)
--
Alphex Kaanoken
Senior developer of Crew IT research labs
web: http://crew.org.ru
mailto:Alphex Crew Org RU
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]