API: Change macOS raise mechanism

Other mechanism didn't work universally
This commit is contained in:
Jon Evans
2025-02-10 17:55:24 -05:00
parent 74308f26f6
commit 290dc417d9
4 changed files with 53 additions and 8 deletions
+9 -1
View File
@@ -34,7 +34,15 @@ class KICOMMON_API PYTHON_MANAGER
public:
PYTHON_MANAGER( const wxString& aInterpreterPath );
void Execute( const wxString& aArgs,
/**
* Launches the Python interpreter with the given arguments
* @param aArgs
* @param aCallback
* @param aEnv
* @param aSaveOutput
* @return the process ID of the created process, or 0 if one was not created
*/
long Execute( const wxString& aArgs,
const std::function<void(int, const wxString&, const wxString&)>& aCallback,
const wxExecuteEnv* aEnv = nullptr,
bool aSaveOutput = false );