Skip to content

Windows: ARP discovery spawns visible console windows (missing windowsHide) #64

@Spaztazim

Description

@Spaztazim

Description

On Windows, NetworkManager.js spawns visible cmd.exe + conhost.exe windows every ~15-30 seconds due to the ARP discovery call missing the windowsHide option.

The offending line in lib/NetworkManager.js:

child_process_1.default.exec("arp -a | findstr ...", (error, stdout) => {

Fix

Add { windowsHide: true } as the options argument:

child_process_1.default.exec("arp -a | findstr ...", { windowsHide: true }, (error, stdout) => {

This suppresses the console window on Windows without affecting behavior on other platforms.

Environment

  • Windows 11 (10.0.26200)
  • Node.js v24.13.0
  • ciao consumed as transitive dependency via npm

Reproduction

  1. Run any Node.js app that imports ciao on Windows
  2. Observe cmd.exe and conhost.exe windows flashing every ~15-30 seconds
  3. Process Monitor confirms the source command

One-line fix, happy to PR if preferred.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions