Search:

Type: Posts; User: dsab123

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,444

    For anyone else who has/had this problem, you...

    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...
  2. Replies
    0
    Views
    1,301

    Possible incorrect use of Xlib functions?

    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...
  3. Replies
    2
    Views
    2,444

    get window handle of system()?

    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 ==...
  4. thanks for your quick response, dmh2000. So...

    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...
  5. child process to run in its own shell script?

    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...
  6. Yep, that worked pretty perfectly. Thanks...

    Yep, that worked pretty perfectly. Thanks manasij7479!
  7. When developing the project in Kdevelop, I did...

    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,...
  8. header file trouble when compiling in Kdevelop

    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...
Results 1 to 8 of 8