
Am 07.12.2023 um 12:07 schrieb Lee Badham via MBS Xojo Plugins
: Although there's no error shown, the service does not stop.
Could you maybe look like our example: if a.LastError<>0 then MsgBox "Lasterror on Execute: "+str(a.LastError) else e=a.Wait // wait for process to terminate. Returns PID if a.LastError<>0 then MsgBox "Lasterror on Wait: "+str(a.LastError) end if end if msgbox a.ReadStream(1024) So you would read the error message from the stream after it finished?
This is from the console log.
AuthorizationExecuteWithPrivileges and AuthorizationExecuteWithPrivilegesExternalForm are deprecated and functionality will be removed soon - please update your application
Yes, Apple loves you to use helper apps for this. See SMAppServiceMBS class. Best regards, Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/