Thread: gtk in forked process

  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    3

    gtk in forked process

    Hi,
    I have app that has while true on input listening to changes and then in some condition needs to open simple gtk app, and afterwards continue listening.
    I thought that i could fork gtk part, and kill it when it is not needed.
    But am not finding much examples on internet. 2 processes dont share data. Can child process start a gui app? And is this a good approach. (Raspberry)

  2. #2
    Registered User
    Join Date
    Nov 2012
    Posts
    1,393
    Have you looked at D-BUS? The keyword you seem to be searching for is IPC.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C forked processes
    By nuubik in forum C Programming
    Replies: 9
    Last Post: 10-29-2010, 04:11 PM
  2. accessing shared memory via forked processes
    By rklockow in forum C Programming
    Replies: 7
    Last Post: 06-30-2010, 05:44 PM
  3. Replies: 16
    Last Post: 11-10-2007, 10:48 AM
  4. writing to file with multiple forked process
    By hiawatha in forum C Programming
    Replies: 7
    Last Post: 04-18-2007, 06:30 PM
  5. Child Process & Parent Process Data :: Win32
    By kuphryn in forum Windows Programming
    Replies: 5
    Last Post: 09-11-2002, 12:19 PM