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?