Skip to content

Conversation

@khwilliamson
Copy link
Contributor

This file calls ps(1), assuming that ps accepts the 'h' and 'hc' options. This is non-portable. The comments in the code indicate that these tests are optional; just skip them if the ps doesn't work. The problem is that noise gets generated on such platforms. Simply redirect stderr to /dev/null, suppressing any warnings.

  • This set of changes does not require a perldelta entry.

This file calls ps(1), assuming that ps accepts the 'h' and 'hc'
options.  This is non-portable.  The comments in the code indicate that
these tests are optional; just skip them if the ps doesn't work.  The
problem is that noise gets generated on such platforms.  Simply redirect
stderr to /dev/null, suppressing any warnings.
@khwilliamson khwilliamson merged commit 1372fc7 into Perl:blead Sep 11, 2025
34 checks passed
@khwilliamson khwilliamson deleted the magic_devnull branch September 11, 2025 04:00
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