Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Self-Service - Chocolatey Agent does not pass the exit code back to the console #51

Closed
pauby opened this issue Oct 1, 2018 · 2 comments
Assignees
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.

Comments

@pauby
Copy link
Member

pauby commented Oct 1, 2018

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.

@ferventcoder ferventcoder changed the title Background Service does not pass the exit code back to the console SelfService - Background Service does not pass the exit code back to the console Feb 16, 2019
@ferventcoder ferventcoder changed the title SelfService - Background Service does not pass the exit code back to the console Self-Service - Background Service does not pass the exit code back to the console Feb 16, 2019
@ferventcoder ferventcoder added Bug Tickets that represent defects/bugs. Priority_HIGH Represents high priority tickets - things that must be addressed soon. 2 - Working Tickets that are currently being worked on. Edition - Business labels Feb 16, 2019
@ferventcoder ferventcoder self-assigned this Feb 20, 2019
@ferventcoder ferventcoder added 4 - Done Issues that have been completed and are ready to be released. and removed 2 - Working Tickets that are currently being worked on. labels Feb 20, 2019
@ferventcoder
Copy link
Member

This is complete and will go out with the next versions of Chocolatey Licensed Extension and Chocolatey Agent.

@ferventcoder ferventcoder added 5 - Released The area addressed in the ticket has been released in the product and is generally available. and removed 4 - Done Issues that have been completed and are ready to be released. labels Mar 18, 2019
@ferventcoder ferventcoder added the AgentService Issues affecting Chocolatey Agent Windows Service (chocolatey-agent) label Jun 3, 2019
@gep13 gep13 changed the title Self-Service - Background Service does not pass the exit code back to the console Self-Service - Chocolatey Agent does not pass the exit code back to the console Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

2 participants