Help tracking down a shell problem

Warren Samples warren at warrensweb.us
Thu Oct 20 16:23:36 EDT 2011


On 10/20/2011 03:12 PM, Andre Garzia wrote:
> Pete,
>
> The terminal and the shell command are different beasts. On your mac, you
> can check some hidden files:
>
> .profile
> .bash_profile
> .bashrc
>
> For example, my .profile changes my locale $LANG var.
>
> I think that .profile always load but .bash_profile and .bashrc only loads
> then you launch a terminal, but I am guessing. Its been a while since I last
> played this kind of game.
>
> Anyway, the shell() executes stuff in "Mac OS X" graphical land, the
> terminal is different. For example, IIRC applescript is not available when
> the old engine was running on the terminal but was available if you shell().
> Its the little things...


To expand (in a speculative manner!) on Andre's response, it seems 
probable that you are running into the difference between the System 
defaults and your User defaults. This is a little bit of a quagmire, but 
something that has been discussed here more than once in the past.

Good Luck!

Warren





More information about the Use-livecode mailing list