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

   > `pwsh --version` is completely different distribution of powershell, that 
you need to install, some `powershell` in a version sufficient for the check is 
available in all recent windows, at the location as specified in 
[#3258](https://github.com/apache/maven-surefire/pull/3258)
   > 
   > But yes, `Windows XP Home` wasn't something I would consider doing that 
change..
   
   But we do not have to install PowerShell and the user either.
   This is my point.
   We must not force the user to do an extra work. Nobody is reading the 
documentation and nobody want's to have a list of prerequisite in order to run 
something trivial (from his perspectives).
   That's the reason why we used these commands `ps` and `wmic`. The thing is 
that Microsoft deprecated wmic.
   
   Finally, there are two problems:
   1. the native command did not fallback to PING after the first crash,
   2. the wmic itself.
   
   We cannot say "Dear customer. If you want to run your tests you HAVE TO 
install ... PowerShell. Forget about native commands embedded in the Operating 
system. You would not have the comfort you had before but who cares, we are the 
devs whatsoever."
   This is my problem.
   
   The (2) can be solved once for all, if we use Java 9 and not PowerShell not 
PS not WMIC. This would be ideal!


-- 
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