Bazaar/SysExec : added support for single enquoted strings

git-svn-id: svn://ultimatepp.org/upp/trunk@8162 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
micio 2015-02-09 19:16:26 +00:00
parent 44b05d946e
commit 4a3c35b4cc

View file

@ -35,6 +35,18 @@ char **BuildArgs(String const &command, String const &argline)
if (c)
c = argline[++pos];
}
// read single quoted string
else if(c == '\'')
{
c = argline[++pos];
while (c && c != '\'')
{
s << c;
c = argline[++pos];
}
if (c)
c = argline[++pos];
}
else
{
s << c;