OK mine are definitely different. So what changed? Virtually everything I used for shell in the past worked without a problem but at some point in the recent updates this changed.
So then what is the solution? Obviously I am going to have to change the shell for LC, and not the one for Terminal. LC’s shellCommand is /bin/sh. The terminal is zsh so I set Livecode’s shellCommand to /bin/zsh. The path changed but is still different from what I grep in the terminal!! Shouldn’t there be a way to tell LC what the default shell is in the terminal?? Bob S > On Jul 15, 2023, at 4:35 PM, Mark Wieder via use-livecode > <use-livecode@lists.runrev.com> wrote: > > On 7/15/23 10:05, Geoff Canyon via use-livecode wrote: > >> So any idea why terminal can find python but LC's shell function can't? > > Your user context is different from LC's shell context. Try > > put shell("env | grep PATH") # in the message box > > and > > env | grep PATH # in terminal > > If you want to launch python from LC's shell you'll have to have it in LC's > path somewhere, or at least an alias to it in the path. > > -- > Mark Wieder > ahsoftw...@gmail.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode