You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2019/02/01 08:29:00 UTC
[jira] [Comment Edited] (SUREFIRE-1623) TempWmicBatchFile.bat is
left in project dirs after surefire tests are run
[ https://issues.apache.org/jira/browse/SUREFIRE-1623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16758087#comment-16758087 ]
Tibor Digana edited comment on SUREFIRE-1623 at 2/1/19 8:28 AM:
----------------------------------------------------------------
[~ChrisGWarp]
Regarding driver, the {{WMIC}} is run without path to {{WMIC}}. It should be in PATH.
The path might be {{%SystemRoot%\\System32\Wbem\wmic.exe}} used directly in command (not the CWD) if exist; otherwise {{CMD /A /X /C wmic process where (ProcessId=123) get CreationDate}}.
What you mean by {{driver for the change}} ? What change? The {{CreationDate}} ?
was (Author: tibor17):
[~ChrisGWarp]
Regarding driver, the {{WMIC}} is run without path to {{WMIC}}. It should be in PATH.
The path might be {{%SystemRoot%\\System32\Wbem\wmic.exe}} used directly in command (not the CWD) if exist; otherwise {{CMD /A /X /C wmic process where (ProcessId=123) get CreationDate}}.
What you mean by {{driver for the change }}? What change? The {{CreationDate}}?
> TempWmicBatchFile.bat is left in project dirs after surefire tests are run
> --------------------------------------------------------------------------
>
> Key: SUREFIRE-1623
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1623
> Project: Maven Surefire
> Issue Type: Bug
> Affects Versions: 3.0.0-M3
> Reporter: Chris Graham
> Priority: Blocker
>
> WINDOWS ONLY:
> When the WMIC command it run to obtain the process start time, the current implementation leaves behind a batch file, TempWmicBatchFile.bat, which is zero bytes long.
> This file needs to be removed post execution.
> Leaving it behind will interfere with the release plugin as a scm status call will fail with files needing to be added. Simply ignoring the file is a very sloppy approach.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)