From: Robert C. <ro...@iC...> - 2002-02-26 07:19:40
|
That works! Also, thanks to Jim Ingham for pointing out how to set other environment variables. I'm well on my way to getting this to work. I'm working on getting TkMatMan working on OS X using 3Delight. >Same thing should happen on other systems as well, if I'm not mistaken >(e.g. linux). At least same failure happens on my linux boxes. That's >because cd is a shell-built-in command for most shells and, more >importantly (I assume), because thereis not an actual "cd" command (e.g. >`which cd` returns a not found). Just type 'cd' without the exec and it >should work just fine. Same with ls, pwd, etc and the rest of the usual >shell-built-in commands. Unless I just missed what you were saying >altogether.. > >Cheers! > > >On Tue, 26 Feb 2002, Robert Coldwell wrote: > >> How would one do the "cd" command to the OS X command shell from TCL and >> get it to work? This is what I put and what I get back: >> >> () 2 % exec cd /bin >> couldn't execute "cd": no such file or directory >> >> Doing "ls" works fine. It seems to me there is something about keeping >> the communication open that is not happening. What it seems to do is just >> "send data" and "retreive data." Any suggestions? >> >> If I can get this to work it will lead into more questions I'm sure. Thanks. >> >> -- >> Robert Coldwell > -- Robert Coldwell ro...@iC... http://iColdwell.com/pixelsplace |