Powershell script returns an exit code of `1` even though its executing successfully
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 20/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- powershell, ruby
- Domain
- operating-systems
Research direction
The issue names no source files, tests, or reproducible commands. Start by obtaining the missing PowerShell command and expected and actual exit behavior on Windows 11 with version 2.3.2-universal-mingw32; done means reproducing the nonzero status and adding a regression test for the corrected behavior.
Written by the indexing model from the issue text.
Description
Version: 2.3.2-universal-mingw32
[Version of the project installed]
Environment: Windows 11
[Details about the environment such as the Operating System, cookbook details, etc...]
Scenario: When running powershell scripts , the script is exiting with a status code of 1 rather then 0 even though the script is working fine
[What you are trying to achieve and you can't?]
Steps to Reproduce:
[If you are filing an issue what are the things we need to do in order to repro your problem?]
Expected Result:
[What are you expecting to happen as the consequence of above reproduction steps?]
Actual Result:
[What actually happens after the reproduction steps?]
- Dominant language
- Ruby
- Stars
- 133
- Forks
- 73
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from chef/mixlib-shellout
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
chef/mixlib-shellout#287 ·
-
Status: Untriaged Type: Bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
chef/mixlib-shellout#278 ·
-
Status: Untriaged Type: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
chef/mixlib-shellout#257 ·
-
Status: Untriaged
Difficulty 4/5 3-5 days Newbie friendliness 35/100
chef/mixlib-shellout#245 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
chef/mixlib-shellout#201 · 2 comments ·
All issues in chef/mixlib-shellout
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
Maintainers usually reply within 3 days
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
jetrockets/jet_ui#47 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
FreeCAD/homebrew-freecad#870 ·
Maintainers usually reply within 1 day