[ https://issues.apache.org/jira/browse/SUREFIRE-1475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16359557#comment-16359557 ]
ASF GitHub Bot commented on SUREFIRE-1475: ------------------------------------------ Github user Tibor17 commented on the issue: https://github.com/apache/maven-surefire/pull/174 First of all do it similar like we do in *NIX. Resolve `%SystemRoot%\System32\Wbem\wmic.exe` in Java and check that the file exists. If it exists use it, otherwise do it as we did before. > 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)