Python: switch to arg arrays for launch

Fixes Python when there are spaces in interpreter path
This commit is contained in:
Jon Evans
2025-02-11 12:14:25 -05:00
parent e741d46770
commit 3bdf82aea7
4 changed files with 46 additions and 20 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ public:
* @param aSaveOutput
* @return the process ID of the created process, or 0 if one was not created
*/
long Execute( const wxString& aArgs,
long Execute( const std::vector<wxString>& aArgs,
const std::function<void(int, const wxString&, const wxString&)>& aCallback,
const wxExecuteEnv* aEnv = nullptr,
bool aSaveOutput = false );