hangs in Windows batch file (.cmd) calling wmic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| BleachBit |
Undecided
|
Unassigned |
Bug Description
BleachBit 0.9.1, depending on version of Windows, uses wmic to find out whether a process like Firefox is running. Apparently this freezes inside a batch file.
Andrew Ziem (ahziem1) wrote : | #2 |
The link is broken because of link wrapping
Here is the link again, shorter
There are no more reports like this, so maybe it was idiosyncratic to the user's system
Race (relay12) wrote : | #3 |
I started getting wmic hang in a batch script Today on a one machine. Entered "wmic" in cmd.exe window at it also was frozen too. At a guess some problem with WMI service . I note On April 2 an "auto update retrieval of third-party root list sequence number" is in event log and a few messages about eventid 36876 return code 0x80096004 in event log today both struck me as unusual. I
have not idea why I would get that last message after googling it meaning.
Never had wmic issue before. After I rebooted issue disappeared. If it happens again I will add information.
Race (relay12) wrote : | #4 |
I have found two sites suggesting using " wmic .... <NUL" (redirecting stdin to null) for use in scripts to prevent hanging. That would not help cmd.exe prompt.
Race (relay12) wrote : | #5 |
I have changed any batch script code to include this:
<NUL wmic /interactive:off process ...
Just in case it makes a difference.
Changed in bleachbit: | |
status: | Incomplete → New |
ROCKNROLLKID (slinger1410) wrote : | #6 |
Tagged for 1.14 to explore Race's issue with wmic.
Changed in bleachbit: | |
milestone: | none → 1.14 |
Andrew Ziem (ahziem1) wrote : | #7 |
I removed WMIC.
Please test build BleachBit 1.13.377 or later from http://
Changed in bleachbit: | |
status: | New → Fix Released |
Tagging as incomplete. The link provided no longer exists.