Changed wxProcess::Open to take a flags arg to pass to wxExecute.
Fixed a few _'s without \'s in the docs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -63,10 +63,10 @@ void wxProcess::Init(wxEvtHandler *parent, int id, int flags)
|
||||
}
|
||||
|
||||
/* static */
|
||||
wxProcess *wxProcess::Open(const wxString& cmd)
|
||||
wxProcess *wxProcess::Open(const wxString& cmd, int flags)
|
||||
{
|
||||
wxProcess *process = new wxProcess(wxPROCESS_REDIRECT);
|
||||
if ( !wxExecute(cmd, wxEXEC_ASYNC, process) )
|
||||
if ( !wxExecute(cmd, flags, process) )
|
||||
{
|
||||
// couldn't launch the process
|
||||
delete process;
|
||||
|
Reference in New Issue
Block a user