................................
#ifdef PLATFORM_POSIX
/* if(console) // why this does not work?!
cmdline = "/usr/bin/xterm -hold -e " + cmdline;*/
................
Mirek
I don't understand your question.... If I add :
................................
#ifdef PLATFORM_POSIX
console = true;
if(console) // why this does not work?!
cmdline = "/usr/bin/xterm -hold -e " + cmdline;
................
That works quite well, opens an xterm and runs app.
The only stuff I don't understand is why 'console' is set to false on entering Launch().
BTW, no crash at all....
Max
Too weird. On my rig, it ends with broken X11 (most likely) - it starts returning a lot of X11 errors and eventually ends on segfault.
Looks like some weird issue with fork, hard to say...
Hm, console == true if application is build with CONSOLE mode. It is true I did tested only with such apps, while you might be trying with X11 apps.. maybe a clue?!