This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: changing directory
- To: Olivier Buechel <Olivier dot Buechel at unifr dot ch>
- Subject: Re: changing directory
- From: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: 09 Jun 2000 17:19:53 +0200
- Cc: guile at sourceware dot cygnus dot com
- Cc: djurfeldt at nada dot kth dot se
- References: <14657.2524.622834.907515@unifr.ch>
Olivier Buechel <Olivier.Buechel@unifr.ch> writes:
> This may be more scheme than guile;
> When i do a systemcall (system "wget www.xy.zz") the file wget will
> download will be saved in the current shell directory
> i.e. (system "pwd"). How can i change my current directory?
(chdir "xxx")
> I tried
> (system "cd /home/buechel/download") but this has not changed. What
> does it do then?
It changes the directory in the subshell which Guile has started.