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:
Robin Dunn
2002-07-12 23:25:14 +00:00
parent 8961add6aa
commit e626d7c787
8 changed files with 31 additions and 28 deletions

View File

@@ -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;