Shell + Python?

Bob Sneidar bobsneidar at iotecdigital.com
Sat Jul 15 18:57:25 EDT 2023


I ran into a similar thing. Older versions of LC worked with anything you could type into the terminal but now basic things return an error. 

Sent from my iPhone

> On Jul 15, 2023, at 10:07, Geoff Canyon via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> In terminal, this works:
> 
> python -c "print('hello world')"
> 
> 
> In LiveCode, this:
> 
> *put* shell("python -c " & quote & "print('hello world')" & quote)
> 
> puts this:
> 
> /bin/sh: line 1: python: command not found
> 
> while this:
> 
> *put* shell("pwd")
> 
> puts this:
> 
> /Applications/LiveCode 9.6.9.app
> 
> So any idea why terminal can find python but LC's shell function can't?
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


More information about the use-livecode mailing list