Start process wxExecute not in background

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
Hippey
In need of some credit
In need of some credit
Posts: 2
Joined: Sun Dec 16, 2012 2:44 pm

Start process wxExecute not in background

Post 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!
User avatar
bishop.gis
Earned a small fee
Earned a small fee
Posts: 20
Joined: Fri May 25, 2012 6:47 pm

Re: Start process wxExecute not in background

Post by bishop.gis »

Maybe adding flag wxEXEC_SHOW_CONSOLE helps you.

Code: Select all

wxExecute(command, wxEXEC_ASYNC | wxEXEC_SHOW_CONSOLE );
Post Reply