djberg96/net-ping — comment on commit 5f3249ac67be44657e9d5edd848cf543d0dbb9ab
File: lib/net/ping/external.rb line 38
By paddor:

The string is only assigned to stdin. The other two variables become nil. And the empty string in stdin is replaced later anyway.
Suggestion:

stdin = stdout = stderr = nil