maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SUREFIRE-1475) PpidChecker.windows() assumes wmic is on the path
Date Sat, 10 Feb 2018 00:42:00 GMT

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

ASF GitHub Bot commented on SUREFIRE-1475:
------------------------------------------

GitHub user awallgren opened a pull request:

    https://github.com/apache/maven-surefire/pull/174

    https://issues.apache.org/jira/browse/SUREFIRE-1475

    Don't assume wmic is on the path on windows.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/awallgren/maven-surefire master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/maven-surefire/pull/174.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #174
    
----
commit e5fba76e2a2e94489978da86a80a86e7cd6b0996
Author: Anders Wallgren <anders_wallgren@...>
Date:   2018-02-10T00:39:35Z

    https://issues.apache.org/jira/browse/SUREFIRE-1475
    
    Don't assume wmic is on the path on windows.

----


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

Mime
View raw message