Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'OK, I see this issue too...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
OK, I see this issue too...
Authored by: slb on Mar 15, '12 01:38:15PM

I did all the bits correctly, but I can't launch a script from the AS menu.
I've set chmod, etc. and I can double-click it in the Finder just fine.

Tried:
!#/bin/sh and !#/bin/bash and neither work here in 10.7.3?

Other ideas? All I get in Console is this:
3/15/12 2:04:07.397 PM com.apple.SystemUIServer.agent: TERM environment variable not set.

Edited on Mar 15, '12 02:04:28PM by slb



[ Reply to This | # ]
OK, I see this issue too...
Authored by: wgscott on Mar 15, '12 09:13:34PM
You transposed the ! and # i.e., you want:
#!/bin/bash


[ Reply to This | # ]
OK, I see this issue too...
Authored by: slb on Mar 15, '12 09:39:03PM

Thanks - I wrote it here wrong, but the scripts are fine. I'm stumped. They run fine in Terminal and Finder. Just refuse to run from the /Library/Scripts folder. Thanks for the help though.



[ Reply to This | # ]