[ 
https://issues.apache.org/jira/browse/SUREFIRE-1475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16359158#comment-16359158
 ] 

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
(v7.6.3#76005)

Reply via email to