[QBS] How to redirect Command output into file
Jake Petroules
jake.petroules at petroules.com
Mon Jul 20 10:54:42 CEST 2015
> On Jul 20, 2015, at 1:09 AM, Christian Kandeler <christian.kandeler at theqtcompany.com> wrote:
>
> On 07/20/2015 04:00 AM, Andrii Anpilogov wrote:
>> Yup. I tried to use TextFile and got next error:
>> :-1: warning: Error when calling output filter function: ReferenceError:
>> Can't find variable: TextFile
>
> Hm, that's a bug then, Apparently, the our extensions are not available
> in the filter function. Could you please file a report?
> You can work around this problem by using a JavaScriptCommand and
> employing qbs.Process there to call the nm tool.
>
>
> Christian
> _______________________________________________
> QBS mailing list
> QBS at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs
Yes, virtually nothing is available in the filter functions' scopes, except the properties of the command itself (exposed as local variables in the filter functions' scopes).
--
Jake Petroules - jake.petroules at petroules.com
More information about the Qbs
mailing list