@ Brucey:
I've done some similar tests myself, and experienced the same behaviour.
It doesn't matter whether you use system() (POSIX) or CreateProcess(). Stepping into the code by placing a DebugStop before fixes it for me, although it won't work from the IDE when run with Debug mode or Release mode. :-/
I've also tried the better command line utility (xdg-open) which I believe is supposed to be DE independent and is used by wxWidgets as its first port of call. I get the same results as described above. Running from the IDE (unless stepping through) doesn't work, but executing by double-clicking the executable in the file manager works fine.
Finally, running the commands "gnome-open" or "xdg-open" from the Terminal work fine for me, so that doesn't appear to be the problem. :-(
I've done some similar tests myself, and experienced the same behaviour.
It doesn't matter whether you use system() (POSIX) or CreateProcess(). Stepping into the code by placing a DebugStop before fixes it for me, although it won't work from the IDE when run with Debug mode or Release mode. :-/
I've also tried the better command line utility (xdg-open) which I believe is supposed to be DE independent and is used by wxWidgets as its first port of call. I get the same results as described above. Running from the IDE (unless stepping through) doesn't work, but executing by double-clicking the executable in the file manager works fine.
Finally, running the commands "gnome-open" or "xdg-open" from the Terminal work fine for me, so that doesn't appear to be the problem. :-(