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
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode