This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: changing directory


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]