help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shell mode, changing directory


From: Alan Shutko
Subject: Re: shell mode, changing directory
Date: Fri, 21 Mar 2003 18:23:02 GMT
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 (gnu/linux)

Phillip Lord <p.lord@russet.org.uk> writes:

> Can anyone tell me how to force a *shell* buffer to change it's
> current working directory? Effectively I want to fake typing "cd
> blah", but I can't see a good way to do this. 

Send "cd blah" to the process... that's the only way.  You can't
change a process's working directory from outside.

comint-send-string might help.

-- 
Alan Shutko <ats@acm.org> - I am the rocks.
Looking for a developer in St. Louis? http://web.springies.com/~ats/
Hey! You knuckleheads! - Gypsy to Mads


reply via email to

[Prev in Thread] Current Thread [Next in Thread]