Skip to content

Commit

Permalink
utils fix killing powershell (windows)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebhildebrandt committed Jan 10, 2023
1 parent 8a6e5f9 commit cc53d2d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.

| Version | Date | Comment |
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
| 5.17.2 | 2023-01-10 | `utils` fix killing powershell (windows) |
| 5.17.1 | 2023-01-06 | `graphics()` positionX, positionY Ventura fix (max OS) |
| 5.17.0 | 2023-01-06 | `graphics()` added positionX, positionY (max OS) |
| 5.16.9 | 2022-12-27 | updated docs |
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.17.1</th>
<td>2023-01-06</td>
<td><span class="code">utils</span> fix killing powershell (windows)</td>
</tr>
<tr>
<th scope="row">5.17.1</th>
<td>2023-01-06</td>
Expand Down
2 changes: 1 addition & 1 deletion 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.17.1</span></div>
<div class="version">New Version: <span id="version">5.17.2</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
2 changes: 1 addition & 1 deletion lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ function powerShellRelease() {
_psPersistent = false;
}
} catch (e) {
_psChild.kill();
if (_psChild) { _psChild.kill(); }
}
_psChild = null;
}
Expand Down

1 comment on commit cc53d2d

@xoxloviwan
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.