I’m trying to get the status of postfix but my shell command giving me the error: “The command exited with a non-zero status.” I can check the postfix status using Terminal but I just can’t seem to get any results from applescript. Here’s my command:
do shell script "sudo postfix status" user name myuser password mypasswd with administrator privileges
Thanks for your time,
Nik
Model: MacBook Pro
AppleScript: 2.1.2
Browser: Safari 525.18
Operating System: Mac OS X (10.6)