Using Shell

David Bovill david at
Tue Jul 7 06:39:05 EDT 2015

Hi I've had a strange problem with using the shell command. everything
works as normal:

put shell ("ls -la")

But I have a shell command which works on the command line but not with
using the LiveCode shell command. So:

ipfs version

Works fine and returns:

ipfs version 0.3.2

Note the syntax is not "ipfs --version" or "ipfs -v". And the follwoing
command in LiveCode:

put shell ("ipfs version")


Error: Expected 0 arguments, got 1

Use 'ipfs version --help' for information about this command

So it seems that Livecode is treating the second word in a different way to
the actual shell.

Any ideas what to do?

More information about the Use-livecode mailing list