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:
Code:int pid = fork(); if (fork == 0) { system("program name") } else { ... }
Is this possible? would it be possible to do so if I used one of the exec() functions instead?
Thanks! (using Kubuntu 12 btw)
EDIT: ehh..I think it might be better to ask this on linuxforums, now that I think about it...