My program needs to launch a web browser to use an 'online help' functionality, however I have not been able to successfully call a program from within my program.
Well thats not entirely true, I can call any app that I have developed, they all work just fine. However if I try to call any other app, I get an outpouring of X errors. I tried multiple apps with the same results. This is with using execl().
Now with System() I can call any app no problem, except for the obvious pitfall that System() doesnt return until the app it calls terminates.
Anyone know why X is yelling at me for trying these apps? Or even better, does anyone know a better command to achive this?
Here is the X error.
Well thats not entirely true, I can call any app that I have developed, they all work just fine. However if I try to call any other app, I get an outpouring of X errors. I tried multiple apps with the same results. This is with using execl().
Now with System() I can call any app no problem, except for the obvious pitfall that System() doesnt return until the app it calls terminates.
Anyone know why X is yelling at me for trying these apps? Or even better, does anyone know a better command to achive this?
Here is the X error.
Code:
X Error: code 14 major 1 minor 0: BadIDChoice (invalid resource ID chosen for this connection). X Error: code 14 major 1 minor 0: BadIDChoice (invalid resource ID chosen for this connection). X Error: code 14 major 1 minor 0: BadIDChoice (invalid resource ID chosen for this connection). X Error: code 14 major 1 minor 0: BadIDChoice (invalid resource ID chosen for this connection). X Error: code 14 major 1 minor 0: BadIDChoice (invalid resource ID chosen for this connection). X Error: code 14 major 1 minor 0: BadIDChoice (invalid resource ID chosen for this connection). X Error: code 14 major 1 minor 0: BadIDChoice (invalid resource ID chosen for this connection). X Error: code 14 major 154 minor 4: BadIDChoice (invalid resource ID chosen for this connection). X Error: code 14 major 154 minor 4: BadIDChoice (invalid resource ID chosen for this connection). X Error: code 14 major 154 minor 4: BadIDChoice (invalid resource ID chosen for this connection). Xlib: unexpected async reply (sequence 0x11c4)!
Comment