reuk
2
There was a post the other day where the solution seemed to be to split the arguments up using a StringArray:
Maybe something like this (untested)?
StringArray { "osascript", "-e", "do shell script \"sudo installer -pkg /path/to/some.pkg -target /\" with administrator privileges" };
1 Like