Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-03-20 18:39:50


At 05:04 PM 3/20/2002, Jeff Garland wrote:

>> If anyone comes up with a killer argument for get/set cwd, we can
include
>> them. But that hasn't happened so far.
>
>How about this -- I need to spawn a process and I need it to start with a
>certain initial directory. For that I would need setcwd. Can't think of
a
>real need for getcwd b/c it is really initial_directory() that matters.
>And of course the fatal flaw to this argument is there isn't a portable
>library to spawn a process, but we can always hope....

Yeah, that's essentially the system() argument Dylan posted.

So far, I'm seeing these arguments as more of a flag that other library
work is needed, rather than there being problem with
filesystem/directory.hpp.

Someone may still come up with a killer example, of course.

Thanks,

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk