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

Reply via email to