You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but when i run this command using NSTask and without Sandbox. it is showing results fine and no error occurs.
but using in Sandbox it is not showing any results.
is there any other approach where i can find using NSTask with Sandbox?
I am running this code on 10.11.6. but it is showing error.
error:
Something went wrong: -60005
Task <STPrivilegedTask: 0x60000009cc50> is not running
outputString=
Code:
STPrivilegedTask *task = [[STPrivilegedTask alloc] init];
[task setLaunchPath:@"/usr/bin/pluginkit"];
[task setArguments: @[@"-vmA"]];
[task setCurrentDirectoryPath:[[NSBundle mainBundle] resourcePath]];
Please any suggestion or comment on it.
Thanks & Regards
The text was updated successfully, but these errors were encountered: