Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Powershell script returns an exit code of `1` even though its executing successfully

Open
#237 1 comment 0 reactions 0 assignees View on GitHub

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

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

Status: Untriaged Type: Bug

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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from chef/mixlib-shellout

All issues in chef/mixlib-shellout

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.