[Development] Reporting errors for powershell scripts executed by Coin
tony.sarajarvi at qt.io
Fri Dec 22 09:17:47 CET 2017
We ignore the results of PS1 scripts because A) We have bad scripts that try to remove folders that don't exists anymore (should be cleaned) and B) as your example said, if we enabled enforcing of them now, things would break apart (fix needed as well 😝)
From: Development [mailto:development-bounces+tony.sarajarvi=qt.io at qt-project.org] On Behalf Of Konstantin Tokarev
Sent: torstai 21. joulukuuta 2017 20.37
To: development at qt-project.org
Subject: [Development] Reporting errors for powershell scripts executed by Coin
AFAIU, some time ago Coin considered ps1 script to be failed its exit code was non-null (e.g, Exit(1) certainly aborted further provisioning process).
Now I see that Exit(1) is ignored (see ). What is the correct way now, throw exception?
Words "conan exited with code 1" are printed before script does Exit(1)
Development mailing list
Development at qt-project.org
More information about the Development