graphics() fix logging nvidia-smi error (windows)
This commit is contained in:
parent
7f739ca6f7
commit
3562c8775b
@ -90,7 +90,8 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
|
|||||||
|
|
||||||
| Version | Date | Comment |
|
| Version | Date | Comment |
|
||||||
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
|
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
|
||||||
| 5.28.0 | 2026-01-02 | `fsSize()` fix df parsing missing mount points (linux) |
|
| 5.28.10 | 2026-01-03 | `graphics()` fix logging nvidia-smi error (windows) |
|
||||||
|
| 5.28.9 | 2026-01-02 | `fsSize()` fix df parsing missing mount points (linux) |
|
||||||
| 5.28.8 | 2026-01-01 | `bluetooth()` `battery()` improved enumeration (windows) |
|
| 5.28.8 | 2026-01-01 | `bluetooth()` `battery()` improved enumeration (windows) |
|
||||||
| 5.28.7 | 2026-12-31 | `networkInterfaces()` fix wireless speed (linux) |
|
| 5.28.7 | 2026-12-31 | `networkInterfaces()` fix wireless speed (linux) |
|
||||||
| 5.28.6 | 2025-12-31 | `npx systeminformation` improved output |
|
| 5.28.6 | 2025-12-31 | `npx systeminformation` improved output |
|
||||||
|
|||||||
@ -57,6 +57,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">5.28.10</th>
|
||||||
|
<td>2026-01-03</td>
|
||||||
|
<td><span class="code">graphics()</span> fix logging nvidia-smi error (windows)</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">5.28.9</th>
|
<th scope="row">5.28.9</th>
|
||||||
<td>2026-01-02</td>
|
<td>2026-01-02</td>
|
||||||
|
|||||||
@ -170,7 +170,7 @@
|
|||||||
<img class="logo" src="assets/logo.png" alt="logo">
|
<img class="logo" src="assets/logo.png" alt="logo">
|
||||||
<div class="title">systeminformation</div>
|
<div class="title">systeminformation</div>
|
||||||
<div class="subtitle"><span id="typed"></span> </div>
|
<div class="subtitle"><span id="typed"></span> </div>
|
||||||
<div class="version">New Version: <span id="version">5.28.9</span></div>
|
<div class="version">New Version: <span id="version">5.28.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>
|
<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>
|
||||||
<div class="down">
|
<div class="down">
|
||||||
|
|||||||
@ -462,7 +462,7 @@ function graphics(callback) {
|
|||||||
options.stdio = ['pipe', 'pipe', 'ignore'];
|
options.stdio = ['pipe', 'pipe', 'ignore'];
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
const sanitized = util.sanitizeShellString(cmd) + (_linux ? ' 2>/dev/null' : '');
|
const sanitized = util.sanitizeShellString(cmd) + (_linux ? ' 2>/dev/null' : '') + (_windows ? ' 2> nul' : '');
|
||||||
const res = execSync(sanitized, options).toString();
|
const res = execSync(sanitized, options).toString();
|
||||||
return res;
|
return res;
|
||||||
} catch {
|
} catch {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user