]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/utilsexc.cpp
Add support for specifying child process cwd and env to wxExecute().
[wxWidgets.git] / src / os2 / utilsexc.cpp
index c50a311691f10f3c4bc540e3b5bda7ff5fc4dc97..199781f7cfbdb052d1b40f6becef40b15df8dd57 100644 (file)
@@ -128,7 +128,8 @@ MRESULT APIENTRY wxExecuteWindowCbk( HWND   hWnd,
 
 long wxExecute( const wxString& rCommand,
                 int flags,
-                wxProcess* pHandler)
+                wxProcess* pHandler,
+                const wxExecuteEnv *env)
 {
     if (rCommand.empty())
     {
@@ -219,6 +220,7 @@ long wxExecute(
   char**                            ppArgv
 , int                               flags
 , wxProcess*                        pHandler
+, const wxExecuteEnv *env
 )
 {
     wxString                        sCommand;
@@ -234,6 +236,7 @@ long wxExecute(
     return wxExecute( sCommand
                      ,flags
                      ,pHandler
+                     , env
                     );
 }