Anders Wallgren commented on SUREFIRE-1475:

Incidentally, this would have been much easier to track down if 
{{org.apache.maven.surefire.booter.ForkedBooter#setupBooter}} didn't disable 
the ping when it senses the JVM is being debugged.

I realize that's handy to avoid timeouts...but not when debugging the 
{{PpidChecker}} code itself...

> PpidChecker.windows() assumes wmic is on the path
> -------------------------------------------------
>                 Key: SUREFIRE-1475
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1475
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: process forking
>    Affects Versions: 2.20.1
>         Environment: Windows
>            Reporter: Anders Wallgren
>            Priority: Major
> {{PpidChecker.windows()}} assumes that the wmic executable is on the path, 
> which isn't always the case.
> A better approach would probably be to use 
> {{%SystemRoot%\System32\Wbem\wmic}}.

This message was sent by Atlassian JIRA

Reply via email to