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


Click here to return to the '10.4: Script Menu "ignores" shell scripts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Script Menu "ignores" shell scripts
Authored by: Hal Itosis on May 16, '05 11:37:15PM

> Shell scripts do not seem to execute for me anymore. : (
> Hopefully this is a bug.



That is definitely the biggest and most bothersome change in Tiger's Script Menu behavior (to me anyway), and it's somewhat surprising that this tip did not even mention it in passing. With respect to the changes it does mention (menu activation and/or folder location), Apple has provided newer methods.

But... the ability to execute Bash scripts has apparently been lost in the shuffle... and --so far-- we don't even have a clue as to whether that was accidental or deliberate, let alone how we can restore that functionality (without resorting to shareware).

To my astonishment, few have complained about this loss. I guess not too many folks have yet noticed its abscence in Tiger. (Or maybe they never knew the ability existed in Panther). Anyway... the only workaround I know of was posted in this thread from the forums.

-HI-



[ Reply to This | # ]
10.4: Script Menu "ignores" shell scripts
Authored by: Oops on May 22, '05 10:51:46AM

Shell Scripts (in bash, sh, tcsh, etc) execute just fine for me from the Scripts Menu in 10.4.1 anyway. I think that they also worked for me in 10.4.



[ Reply to This | # ]
10.4: Script Menu "ignores" shell scripts
Authored by: Oops on May 22, '05 11:34:05AM

...that's because, due to the fact that these shell scripts I was using started as double-click scripts, I have them named
foo.command (instead of just 'foo')
and
the opening line begins with a space (' #!/bin/bash' instead of '#!/bin/bash')

Doing this to your shell scripts will allow them to work under Script Menu



[ Reply to This | # ]