Boost logo

Boost Users :

From: Ben Hutchings (ben.hutchings_at_[hidden])
Date: 2005-08-19 11:24:37


Stephen W. Carson wrote:

> What is the best way to specify spaces in a command line value with
>program_options. I tried putting quotes around the value and
>program_options couldn't deal with that as far as I could tell. Example:
>foo --input-file "C:\foo bar.txt"
>
It's up to the shell or on Windows the C library to split the command
line into arguments, including interpreting quotes.

Ben.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net