Re: [gtk-list] fork() with gtk ?
- From: "Emmanuel DELOGET" <pixel epita fr>
- To: <gtk-list redhat com>
- Subject: Re: [gtk-list] fork() with gtk ?
- Date: Thu, 8 Jul 1999 02:28:11 +0200
> Hello, i'm a new developper with gtk and i wish to use
> something like fork() and execl for printing a document. Is
> a function exist with gtk to do this ? In fact, i realize a
> software which draw plots on a the screen and i want to
> print them. If nothing exist with gtk, someone could give
> me an example of execl using. My print command is "lpr
> -Phpljps" but how use this.
You can just use the fork()/exec() functions as usual.
Take care of another problem that could arise if you
use the exit() function instead of _exit() to quit
the child process (basically, exit() closes file
descriptors, so calling it will break the X connection).
Yours,
pixel@epita.fr
> Thanks for your help
> Bertrand Vanotti (vanotti.bertrand@caramail.com)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]