How to run AppleScript in macOS
Issue #223
Surround script by single quotes
let script =
"""
tell application "XcodeWay"
activate
end tell
"""
let command = "osascript -e '\(script)'"
let process = Process()
process.launchPath …
Written by