Re: [gtk-list] Re: fork() with gtk ?



On Wed, Jul 14, 1999 at 09:37:07AM +0200, Norbert Bladt wrote:

> Thanks for your answer.
> However, it is much more difficult to cancel the operation on user's
> demand once you've started something like popen("lpr -Pxxx").

Then you must do your pipe(), fork() your own child, close the socket to X, 
exec the child, but use _exit() if exec() fails so you don't run the Gtk+ exit 
functions, and all should be well.

--
James Bailie



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]