Skip to content

fix: avoid stderr in test output#692

Merged
bee-san merged 1 commit into
bee-san:masterfrom
PsypherPunk:690-avoid-stderr-in-test-output
Nov 19, 2024
Merged

fix: avoid stderr in test output#692
bee-san merged 1 commit into
bee-san:masterfrom
PsypherPunk:690-avoid-stderr-in-test-output

Conversation

@PsypherPunk
Copy link
Copy Markdown
Collaborator

@PsypherPunk PsypherPunk commented Nov 18, 2024

The stderr from Exec::shell() is showing in the test output; as per discussions on the subprocess GitHub, switching to an explicit use of Redirection::Pipe.

  • stderr is no longer shown.
  • stdout is still captured, as per existing tests.

relates #690

as per discussions on the
[`subprocess`](hniksic/rust-subprocess#62)
GitHub.
@PsypherPunk PsypherPunk requested a review from bee-san November 18, 2024 11:32
@PsypherPunk PsypherPunk mentioned this pull request Nov 18, 2024
@bee-san
Copy link
Copy Markdown
Owner

bee-san commented Nov 19, 2024

One of the upsides to RustScan being an older Rust project is that we get to see the ecosystem evolve in real time 😂

@bee-san bee-san merged commit 88c58f3 into bee-san:master Nov 19, 2024
@PsypherPunk PsypherPunk deleted the 690-avoid-stderr-in-test-output branch November 19, 2024 09:01
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