Re: fork problem
- From: Patrick Panke <panke rocketmail com>
- To: gtk-list redhat com
- Subject: Re: fork problem
- Date: Mon, 2 Aug 1999 06:10:41 -0700 (PDT)
Hi,
I also have a problem using fork with GTK+.
I have a GTK-Program that forks off to start a lpr
then uses a pipe to send postscript to lpr.
How to I stop the lpr Process after Printing is done?
If I close the pipe on the GTK+ side,
I also get a Xlib async reply error and the
application hangs.
Any ideas?
Patrick
---Havoc Pennington <hp@redhat.com> wrote:
>
>
> Hi,
>
> Only one process can use GTK at a time. Perhaps you
really want to use
> threads. If you fork, it's very important *not* to
use GTK in the child.
>
> Havoc
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]