Shell $PATH problems

Kaveh Bazargan kaveh at focalimage.com
Fri Jul 9 14:04:10 EDT 2004


At 9:39 am -0600 9/7/04, Dar Scott wrote:

[...]

>This depends on the shell.  Function shell() and Terminal need not be
>using the same shell.  Terminal uses bash, but you can change that in
>preferences.  I think the shell for shell() changed recently for OS X. 
>You can set the shellCommand property to determine the shell that the
>shell() function uses.  On my Rev 2.2 on OS X the shellCommand is
>"/bin/sh".

It's bash, which I think is default for Panther, but the path is not the
same as Terminal. Here's the response to  put shell("echo $SHELL; echo
$PATH"):

/bin/bash
/usr/bin:/bin:/usr/sbin:/sbin:/Users/kaveh
-- 

--------------
Kaveh Bazargan
http://www.focalimage.com/
http://www.holographer.org/


More information about the use-livecode mailing list