Using Shell

Mike Bonner bonnmike at gmail.com
Tue Jul 7 14:24:59 CEST 2015


I'm curious, if you do
which ipfs
from the command line, vs from livecode shell, are they the same?

On Tue, Jul 7, 2015 at 4:39 AM, David Bovill <david at viral.academy> wrote:

> 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")
>
> returns:
>
> 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?
> _______________________________________________
> 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