When running a script from the scripts menu, where is console output captured? I have a shell script that I want to run from the scripts menu in the menu bar. (This is the menu that you can activate in the Script Editor preferences.) The script works when I run it from Terminal, but doesn't work when I run it from the scripts menu. To debug the problem, I'd like to see what error messages it's printing to the console — but I can't find the console output.

I haven't been able to find any output from my script anywhere in the Console app. Is there somewhere else I should be looking?
You can try typing your command and following it with 2&gt; filename.txt. This will pipe the standard error (stderr) to the specified file.