Shell + Python?

Mark Wieder ahsoftware at sonic.net
Sat Jul 15 19:35:03 EDT 2023


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
  ahsoftware at gmail.com




More information about the use-livecode mailing list