Self-Service - Chocolatey Agent does not pass the exit code back to the console #51
Labels
5 - Released
The area addressed in the ticket has been released in the product and is generally available.
AgentService
Issues affecting Chocolatey Agent Windows Service (chocolatey-agent)
Bug
Tickets that represent defects/bugs.
Edition - Business
Priority_HIGH
Represents high priority tickets - things that must be addressed soon.
What You Are Seeing?
When installing a package from the command line using choco.exe, with the background service enabled, the install does not pass the exit code back to the choco.exe run from the command line. With the background service disabled the exit code is picked up from the install and choco.exe exits with that code.
What is Expected?
That choco.exe exit with the exit code returned from the package install with the background service enabled or disabled.
How Did You Get This To Happen? (Steps to Reproduce)
Create a package that uses
Set-PowerShellExitCode 42
and install it using choco.exe with the background service enabled and then with is disabled.The text was updated successfully, but these errors were encountered: