We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
let script = """ tell application "XcodeWay" activate end tell """ let command = "osascript -e '\(script)'" let process = Process() process.launchPath = "/bin/bash" process.arguments = ["-c", command]
In terminal, we can
cd ~/Library sudo mkdir MyNewFolder
In code, we use with administrator privileges, this when run will ask for password or fingerprint
with administrator privileges
do shell script "mkdir MyNewFolder" with administrator privileges
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Surround script by single quotes
Run as administrator
In terminal, we can
In code, we use
with administrator privileges
, this when run will ask for password or fingerprintThe text was updated successfully, but these errors were encountered: