tag:help.appveyor.com,2012-11-13:/discussions/questions/1993-cl-in-appveyor-powershellAppVeyor: Discussion 2018-05-17T09:04:24Ztag:help.appveyor.com,2012-11-13:Comment/387568822015-12-22T23:09:03Z2015-12-22T23:09:03Zcl in AppVeyor powershell<div><p>You run it as PowerShell script (not CMD) and it looks like that
command writes to StdErr which is interpreted by PowerShell as
exception.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/387568822015-12-23T04:16:48Z2015-12-23T04:16:48Zcl in AppVeyor powershell<div><p>That's not exactly the point. I run cl under PS on my PC and
there is no error as show below</p>
<p>Z:\git\poco>cl<br>
Compilateur d'optimisation Microsoft (R) C/C++
version 18.00.30723 pour x64<br>
Copyright (C) Microsoft Corporation. Tous droits
réservés.</p>
<p>utilisation : cl [ option... ] nom de fichier... [ /link
linkoption... ]</p>
<p>Z:\git\poco>powershell<br>
Windows PowerShell<br>
Copyright (C) 2009 Microsoft Corporation. Tous droits
réservés.</p>
<p>PS Z:\git\poco> cl<br>
Compilateur d'optimisation Microsoft (R) C/C++
version 18.00.30723 pour x64<br>
Copyright (C) Microsoft Corporation. Tous droits
réservés.</p>
<p>utilisation : cl [ option... ] nom de fichier... [ /link
linkoption... ]<br>
PS Z:\git\poco></p></div>zosrothkotag:help.appveyor.com,2012-11-13:Comment/387568822015-12-23T04:28:58Z2015-12-23T04:28:58Zcl in AppVeyor powershell<div><p>Try running it in PowerShell ISE</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/387568822015-12-23T04:30:22Z2015-12-23T04:30:22Zcl in AppVeyor powershell<div><p>Do you mean AppVeyor jobs are run in the Powershel ISE
context?</p></div>zosrothkotag:help.appveyor.com,2012-11-13:Comment/387568822015-12-23T04:37:29Z2015-12-23T04:37:29Zcl in AppVeyor powershell<div><p>No, but my guess is that treating StdErr depends on PowerShell
host.</p></div>Feodor Fitsner