jbliznak commented on issue #3176:
URL: 
https://github.com/apache/maven-surefire/issues/3176#issuecomment-3900347783

   so then I guess this is the the issue 
https://github.com/apache/maven-surefire/blob/master/surefire-booter/src/main/java/org/apache/maven/surefire/booter/PpidChecker.java#L111
   ```java
   return ppi == null ? IS_OS_WINDOWS || IS_OS_UNIX && canExecuteUnixPs() : 
ppi.canUse();
   ```
   
   It was blindly expected that we can always execute the native check on 
windows. And that would make it fail later in the code when wmic was missing 
before #3258 
   
   So the obvious fix is to add the similar check we use with unix and test the 
availability of the tool first.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to