19 Aug
2005
19 Aug
'05
4:24 p.m.
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.