run a gui app from within a daemon process

  • Thread starter Thread starter useubuntu
  • Start date Start date
U

useubuntu

Hi,

I am running a .exe using upstart script. When this process recieves certain input, i want to run a gui application. Whenever i recieve the input, i am trying to create a pseudoterminal pair using forkpty() and trying to launch the gui app. I am not able to do so. Any suggestion.

I tried to do it the BSD way also but it does not work. I am using Ubutnu 12.04 LTS.
Attached Files

Continue reading...
 
Back
Top