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
[SR-8720] [SwiftPM] Add --hide-build option to swift run
#4758
Labels
Comments
A possible workaround for now could be redirecting stderr to /dev/null |
That works sometimes, but any sufficiently complicated UNIX-y tool will also want to use stderr |
Sure, just suggesting as that is already implemented (i.e. the build output is written to stderr when using swift run) |
@swift-ci create |
Resetting assignees for all Starter Bugs that haven't been touched since 2018. |
tomerd
added
good first issue
Good for newcomers Edit
and removed
Package Manager
labels
May 14, 2022
Closing as resolved by #5988 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Additional Detail from JIRA
md5: 242446b5c75fedfcae01e6e6a2ccfd96
Issue Description:
It is often useful to use `swift run` as a replacement for building and running.
However, for many tools which when run produce output, it is cumbersome to see the build log output. Perhaps `swift run` should have an option like `--hide-build` which hides all of the build output unless it fails. This makes it very convenient to use `swift run` as a replacement in more situations.
The text was updated successfully, but these errors were encountered: