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

Exit with specific codes on certain actions #707

Closed
ferventcoder opened this issue Apr 24, 2016 · 0 comments
Closed

Exit with specific codes on certain actions #707

ferventcoder opened this issue Apr 24, 2016 · 0 comments
Assignees
Milestone

Comments

@ferventcoder
Copy link
Member

ferventcoder commented Apr 24, 2016

Pass process exit code back through PowerShell.

  • Pass 404 if the item is not found
  • Pass 4 if the expected binary is an HTML/Text document
  • Pass 2 if the binary is missing

Related to #512.

@ferventcoder ferventcoder self-assigned this Apr 24, 2016
@ferventcoder ferventcoder added this to the 0.9.10 milestone Apr 24, 2016
ferventcoder added a commit that referenced this issue Apr 25, 2016
When running PowerShell and certain things are found, exit
appropriately.

- When a file is not found, exit 2.
- When a file found is not right, exit 4.
- When a file can not be downloaded, exit 404.
- When unzipping has issues, exit with its result exit code
ferventcoder added a commit that referenced this issue Apr 25, 2016
* stable:
  (maint) rename Get-FileName to Get-WebFileName
  (maint) Log host version as well.
  (GH-512) Exit with same code as installer
  (GH-707) Exit with specific exit codes
  (GH-649) Error if executable is text file
  (GH-709) Get Exit code from PowerShell Host
  (GH-512) Display exit code for packages
  (GH-710) prompt with timeout on some commands
  (maint) better error handling
@ferventcoder ferventcoder changed the title Exit codes specific Exit with specific codes on certain actions May 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants