Boost logo

Boost :

Subject: Re: [boost] Boost.Process 0.5: Another update/potential candidate for an official library
From: Alex Perry (Alex.Perry_at_[hidden])
Date: 2012-11-15 11:06:13

On 14 November 2012 19:04 Yakov Galka [mailto:ybungalobill_at_[hidden]] wrote :-

> Just use UTF-8 on windows, that's it. Do not tell me that converting UTF-8
> to UTF-16 is a significant overhead when creating a process...

No its not overhead that I'm worried about - its functionality - if I have to call out to foo and this expects 8 bit encoded filenames (or more likely on windows utf16) then I need to be able to do that - and so if passing a "command line style call " must tell the boost process library what encoding my std::string actually is in some manner so that it can apply the correct transformation required.

My problem with this is that its confusing so my original point was lets not try to model boost process on the system() call - that exists on all platforms I know of but doesn't really address the issues of writing x-platform code to handle processes.

Boost list run by bdawes at, gregod at, cpdaniel at, john at