Skip to content

Commit

Permalink
powerShellStart() fixed kill issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sebhildebrandt committed May 31, 2024
1 parent 7071e8f commit 7debd4c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.

| Version | Date | Comment |
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
| 5.22.9 | 2024-05-31 | `powerShellStart()` fixed kill issue |
| 5.22.9 | 2024-05-13 | `memLayout()` fixed typo manufacturer |
| 5.22.8 | 2024-05-05 | `utils()` replaces deprecated util._extend() |
| 5.22.7 | 2024-04-02 | `battery()` fixed designed capacity issue (windows) |
Expand Down
5 changes: 5 additions & 0 deletions docs/history.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ <h3>Full version history</h3>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">5.22.10</th>
<td>2024-05-31</td>
<td><span class="code">powerShellStart()</span> fixed kill issue</td>
</tr>
<tr>
<th scope="row">5.22.9</th>
<td>2024-05-13</td>
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
<img class="logo" src="assets/logo.png" alt="logo">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span>&nbsp;</div>
<div class="version">New Version: <span id="version">5.22.9</span></div>
<div class="version">New Version: <span id="version">5.22.10</span></div>
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
</div>
<div class="down">
Expand Down Expand Up @@ -212,7 +212,7 @@
<div class="title">Downloads last month</div>
</div>
<div class="col-xl-4 col-lg-4 col-md-4 col-12">
<div class="numbers">696</div>
<div class="numbers">702</div>
<div class="title">Dependents</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ function powerShellStart() {
powerShellProceedResults(_psResult + _psError);
});
_psChild.on('close', function () {
_psChild.kill();
if (_psChild) { _psChild.kill(); }
});
}
}
Expand Down

0 comments on commit 7debd4c

Please sign in to comment.