console & application positioning

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
sivaranjani
Knows some wx things
Knows some wx things
Posts: 46
Joined: Wed Mar 14, 2018 10:43 am

console & application positioning

Post by sivaranjani »

Hi,
I would like to know if its possible to integrate both application and the console generated on to the same application or a single frame?
At present I use wxExecute for console, and the console gets generated separate to the application.

Code: Select all

m_pid = wxExecute(StrFilePath, wxEXEC_ASYNC |wxEXEC_SHOW_CONSOLE, m_process);
Thanks,
Sivaranjani
sivaranjani
Knows some wx things
Knows some wx things
Posts: 46
Joined: Wed Mar 14, 2018 10:43 am

Re: console & application positioning

Post by sivaranjani »

Hi,
I am using wxExecute in hide console mode to run batch file.
In batch file its waiting for user input for password to proceed.
I used wxGetPasswordFromUser but its not proceeding with next line as it block in wxTextInputstream readline.

Is there any way to send input to console using following flags in wxExecute - wxEXEC_ASYNC |wxEXEC_HIDE_CONSOLE ?

Thanks,
Sivaranjani.
Post Reply