lc shell and command line

Peter Alcibiades palcibiades-first at yahoo.co.uk
Mon Nov 14 03:12:41 EST 2011


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.




More information about the use-livecode mailing list