I will assume that std:: and boost:: cannot be used in early in loader.cc.
with stresep, arguments with spaces cannot be quoted, but the spaces can
be escaped. So
--env=AAA="aa bb"
cannot be used, but instead we can use
--env=AAA=aa\ bb
The commands.cc can than directly receive unparsed/original cmdline,
just after the loader options.
So in that part of cmdline, escaping should work, I think (it is
boost::spirit::qi based).
It is sort of ugly, if second part of cmdline will support escaping and
quoting, but first part will support only escaping.
But in order to be lazy, I would like to go via that path.
Nadav, Miha, Gregor, rest - you opinion please. Any better ideas?
Justin
--
You received this message because you are subscribed to the Google Groups "OSv
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.