Page 1 of 1

Start process wxExecute not in background

Posted: Sun Dec 23, 2012 5:18 pm
by Hippey
Hello!

I use

Code: Select all

wxExecute(command, wxEXEC_ASYNC);
To start process on Linux. But this console process starts in backgroung and there is no text messages from process in my current console. How start process not in background?

And one more thing, how to start process with enviroment variable "LD_PRELOAD=/test/testlib.so"?

Thanks!

Re: Start process wxExecute not in background

Posted: Sun Dec 23, 2012 8:18 pm
by bishop.gis
Maybe adding flag wxEXEC_SHOW_CONSOLE helps you.

Code: Select all

wxExecute(command, wxEXEC_ASYNC | wxEXEC_SHOW_CONSOLE );