Post

Replies

Boosts

Views

Activity

osascript regression in macos-13.4.1
we use the following snippet osascript <<EOF tell application "Terminal" activate do script "automationmodetool enable-automationmode-without-authentication" delay 2 tell application "System Events" keystroke "${PASSWORD}" keystroke return end tell end tell delay 5 EOF it stopped working on macos-13.4.1, no interactive prompt, nothing, in logs we see the following 2023-07-13 16:08:20.156392+0000 0x589d Error 0x0 505 14 diagnostics_agent: (AppStoreFoundation) [com.apple.appstorefoundation:Default] Error reading receipt: Error Domain=NSCocoaErrorDomain Code=256 "The file “receipt” couldn’t be opened." UserInfo={NSFilePath=/Users/runner/osascript/Contents/_MASReceipt/receipt, NSUnderlyingError=0x7fccc5a068c0 {Error Domain=NSPOSIXErrorDomain Code=20 "Not a directory"}} 2023-07-13 16:08:22.283787+0000 0x58ae Error 0x0 6216 0 osascript: (CoreAnalytics) [com.apple.CoreAnalytics:client] No error handler for XPC error: <private>
1
1
456
Jul ’23