I tried:
Code: Select all
wxExecute(_(“./prog1”), wxEXEC_ASYNC);
wxExecute(_(".\/prog1"), 1 | 2 | 4);
I also tried putting the full executable path there. Same problem.
The console app is placed in the same folder than the main app.
I also tried using wxShell to open a terminal.
If I call it directly:
Code: Select all
wxShell()
If I pass command, it fails.
I tried passing the command as wxString as a char, etc, etc.