[Qbs] How to use ">" as argument to cat in the Command item
Ola Røer Thorsen
ola at silentwings.no
Tue Feb 6 11:01:48 CET 2018
I'm writing a Rule where one of the commands is using cat like this:
cat file1 file2 file3 > finalfile
My qbs code does this:
var cmd = new Command("cat", ["file1","file2","file3",">","finalfile"]);
The command line being used wraps > like '>', which doesn't work:
cat file1 file2 file3 '>' finalfile
Is this a qbs bug? Any way to work around this?
Cheers,
Ola
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20180206/a484f13a/attachment.html>
More information about the Qbs
mailing list