For anyone else who has/had this problem, you can't do it with system(), because in system(3): execute shell command - Linux man page, the program is run in the shell, which (I think) makes it...
Type: Posts; User: dsab123
For anyone else who has/had this problem, you can't do it with system(), because in system(3): execute shell command - Linux man page, the program is run in the shell, which (I think) makes it...
Hey guys,
So I have this gui I created in Qt that embeds some X11 windows inside of it (and does a whole bunch of other stuff); when I close the application, I get a seg fault right after/ inside...
I'm sorry if this is a stupid question; I am attempting to get the window handle of a program that's executed using the system() command, i.e. something like:
int pid = fork();
if (fork ==...
thanks for your quick response, dmh2000.
So an example implementation of what you're proposing, then, would involve a parent forking off two child processes, who each have their respective...
I have the parent process doing some computation that involves outputting a lot of stuff to the terminal, and I have another portion of code that I would like to run in its own terminal, as this...
Yep, that worked pretty perfectly. Thanks manasij7479!
When developing the project in Kdevelop, I did the following:
- created a new terminal project from scratch,
- included the main header file in one .cpp file
- attempted to 'build' the project,...
So I'm not sure where to start exactly, but here are the main points:
using Kubuntu 12.04
- used 'make' and stuff on a project using the Konsole and it compiled and ran fine (this project used...