For example I call wxExecute this way
Code: Select all
wxArrayString arr; wxExecute("MyApp.exe", arr, wxEXEC_ASYNC);
But it waits because of the 'arr' parameter.
Am I right?
But I need the 'arr' parameter (redirecting) to hide MyApp.exe.
So what can I do?
I want to hide MyApp.exe but I don't want to wait for MyApp.exe. I just want to start/execute it without care about when it ends.
Understand my problem?
Is it possible to solve that problem?
I am thinking about a workaround with a thread. I could call wxExecute() in an separate thread.