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.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at