Skip to content

Nexus Control Center v1.0.2 - running indicator for long commands

Latest

Choose a tag to compare

@unupunct unupunct released this 07 Aug 08:16

Long-running commands no longer look like a hang

Running sfc /scannow in an elevated pane printed nothing at all - no progress, no output - and
looked frozen.

The terminal was not at fault. A redirected shell streams native command output in real time;
that was verified with ping, whose replies arrived one chunk per second through the exact same
pipeline. sfc is the outlier: it writes its progress through the console API rather than to
standard output, so when its output is a pipe it emits nothing until it finishes - typically 5 to
20 minutes. Its own error text gives the game away: "an administrator running a console
session
"
.

So the scan really was running; there was just no way to tell.

What changed

  • RUNNING mm:ss badge in the terminal header, with a pulsing indicator, shown whenever a
    submitted command has not yet returned to the prompt. The working-directory probe that already
    runs after every command turns out to be an exact "finished" signal, so this is precise rather
    than a guess.
  • A heads-up for console-buffered tools. Submitting sfc, DISM, chkdsk or diskpart
    prints one line explaining that output will only appear at the end, and pointing at
    TOOLS → INTEGRITY for a live progress readout of sfc and DISM.
  • Input encoding hardened. StandardInputEncoding is now explicitly BOM-free UTF-8. Left at
    the default, .NET adopts Console.InputEncoding, which on some hosts emits a UTF-8 preamble on
    the first write - that byte order mark gets glued to the first command and the shell rejects it
    as an unknown token. This was reproduced while building the streaming test harness and hardened
    so it can never happen here.

Practical guidance for sfc

Both of these now work and are elevated after clicking ELEVATE:

  • In a pane - run sfc /scannow, watch the RUNNING timer, and the full result appears when
    it completes.
  • TOOLS → INTEGRITY → CHECK SYSTEM FILES - runs sfc /verifyonly (read-only) with a status
    line and the captured output in the panel.

Download

NexusControlCenter.exe - one file, ~68 MB, self-contained. Windows 10 / 11 x64.

Release build 0 errors / 0 warnings; self test on the shipped binary 16 pass / 3 warn / 0 fail /
1 skip, both terminal round-trips passing.

Everything else is unchanged from
v1.0.1.