[CMake] [cmake-developers] Empty ERROR_VARIABLE in execute_process

Roman Wüger roman.wueger at gmx.at
Mon May 23 11:34:21 EDT 2016


I tried it with CMake 3.5.1 and 3.5.2 and now with the master with the same result. I've attached an example which won't work.

Regards
Roman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestStdErrOut.zip
Type: application/zip
Size: 1065 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160523/759f813a/attachment.zip>
-------------- next part --------------



>> Am 23.05.2016 um 16:57 schrieb Brad King <brad.king at kitware.com>:
>> 
>> On 05/23/2016 03:25 AM, Roman W?ger wrote:
>> The output is:
>> 
>> 1>  _resVar: -1
>> 1>  _outVar:
>> 1>  _errVar:
>> 
>> It seems that the error pipe isn?t read correctly, because _errVar is empty.
> 
> I cannot reproduce that.  With an empty test.qml file I get:
> 
> _resVar: -1
> _outVar:
> _errVar: test.qml:1 : Expected token `numeric literal'
> 
> using the same qmllint version:
> 
>> c:\Qt\5.6.0\5.6\msvc2015_64\bin\qmllint.exe --version
> qmllint 1.0
> 
> and current CMake 'master'.
> 
> -Brad
> 


More information about the CMake mailing list