This follows from what was mentioned above, but as a tip, you can use do the middle line inside the AppleScript Editor to test your commands. And it will give you a much more useful error than QS does. For example, if you want to test how things will run inside sh:
*do shell script* "your command here" d On Friday, April 5, 2013 4:28:10 AM UTC-7, 1.61803 wrote: > > On Friday, April 5, 2013 1:07:07 PM UTC+2, lgarron wrote: >> >> Oh, interesting, $SHELL *does* work from the QS environment. But yes, >> that does work (does the -i matter?), and it does seem more robust than >> anything I've figured out. >> > > $SHELL is an environment variable, passed along via AppleScript's do shell > script > l is for login > i is for interactive > c is for command string > > A new Terminal.app window gives a login and interactive type of shell > interface. > > This should achieve what you wanted — "run this command the same way as if > I'd typed it into Terminal using my default shell". > > Check bash man page for details, sections Options, Invocation and Shell > Variables. It's right at your fingertips ;-) > -- You received this message because you are subscribed to the Google Groups "Quicksilver" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/blacktree-quicksilver. For more options, visit https://groups.google.com/groups/opt_out.
