Skip to content

Conversation

cmcgee1024
Copy link
Member

When runProgramOutput produces an error the exit code, program
name, and arguments are captured in a RunProgramError. However,
the program is being set to the first argument instead of the program
name, and the arguments doesn't include that first argument.

Correctly set the program name to the be the program name, and
set the arguments to be the entire argument list so that the error is
clear, and has all of the details.

@cmcgee1024
Copy link
Member Author

@swift-ci test macOS

@cmcgee1024 cmcgee1024 merged commit 2798ceb into swiftlang:main May 12, 2025
23 checks passed
patricktcoakley pushed a commit to patricktcoakley/swiftly that referenced this pull request May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants