From: Elliot Temple Date: 2006-04-30T07:57:27+09:00 Subject: Re: can a ruby script perform a chdir on win xp? Oops. it seems: man cd DESCRIPTION Shell builtin commands are commands that can be executed within the run- ning shell's process. On Apr 29, 2006, at 3:51 PM, Elliot Temple wrote: > > On Apr 29, 2006, at 3:44 PM, Lloyd Zusman wrote: > >> Unfortunately, no program running in any language can change the >> directory in the shell it's running in, after the program has >> finished >> ... assuming that the program is invoked as a process that is >> separate >> from that of the shell (which is how ruby is invoked). > >> >> This is a function of how the operating system is designed. It's >> true >> for windows-based systems as well as unix-like systems. > > I probably just don't understand what you meant, but what about the > "cd" program? Is that somehow not separate from the shell? > > -- Elliot Temple > http://www.curi.us/blog/ > > > > > -- Elliot Temple http://www.curi.us/blog/