process: improve --redirect-warnings
handling
#24965
Closed
--redirect-warnings
handling
#24965