no real changes, just added an extra status message

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-07-15 19:31:00 +00:00
parent 5f1f21d2a5
commit ce0bb89d45

View File

@ -747,9 +747,12 @@ void MyFrame::OnExecWithRedirect(wxCommandEvent& WXUNUSED(event))
if ( sync )
{
wxLogStatus( _T("'%s' is running please wait..."), cmd.c_str() );
wxArrayString output, errors;
int code = wxExecute(cmd, output, errors);
wxLogStatus(_T("command '%s' terminated with exit code %d."),
wxLogStatus(_T("Command '%s' terminated with exit code %d."),
cmd.c_str(), code);
if ( code != -1 )