lc shell and command line
John Brozycki
johnb at hvc.rr.com
Fri Nov 18 11:27:27 EST 2011
Regarding shell commands and LiveCode....
I've noticed that under OS X, invocation of a shell command is silent. But under Windows, you see a CMD window quickly pop up and disappear. I haven't found any options to prevent the shell command popping up under Windows, but wondered if anyone knew of a way to prevent it from happening.
Thanks,
John
On Nov 14, 2011, at 3:12 AM, Peter Alcibiades wrote:
> I'm having trouble with the livecode shell and cd command also.
>
> pwd in a terminal does:
>
> :~/ runrev 4.5/livecode-4.5.2$
>
> cd ..
>
> :~/ runrev 4.5$
>
> pwd
>
> runrev 4.5$
>
> If you do the exact same things using put shell("...."), this doesn't work.
> In particular,
>
> put shell("pwd")
>
> does indeed return the working directory, but
>
> put shell("cd ..")
>
> does not work at all. Why not? Probably an obvious reason - is it
> something to do with escaping characters?
>
> Peter
>
>
> --
> View this message in context: http://runtime-revolution.278305.n4.nabble.com/lc-shell-and-command-line-tp4036681p4038742.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> _______________________________________________
> 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