LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unable to fork my process and have the child in its own xterm (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-fork-my-process-and-have-the-child-in-its-own-xterm-4175601675/)

ssiegwald 03-13-2017 12:43 PM

Unable to fork my process and have the child in its own xterm
 
I have a multi-threaded application. It uses fork to create the multiple processes all sharing some of the common resources and setup. Unfortunately, there is output from each of the child processes and it is very difficult to see what each is doing. I'd like to have the child processes each have its own console/terminal/xterm so that it can interact with the user.

pan64 03-14-2017 04:50 AM

threads inherit the console/terminal settings, so if you want to have different ones all the threads must create their own ones. Or you need to create xterms before and pass them to your app somehow...


All times are GMT -5. The time now is 01:31 AM.