Skip to main content

Module windows_process

Module windows_process 

Source
Expand description

Windows process-creation helpers for non-PTY children.

PTY / ConPTY spawns must keep a console; everything else (ACP, app-server, m4a-agent, spawn profiles, probes) must not pop a visible window.

Constants§

CREATE_NO_WINDOW
CREATE_NO_WINDOW (0x08000000). Safe to OR with other creation flags.

Functions§

hide_console
Apply CREATE_NO_WINDOW on Windows. No-op elsewhere. Does not touch program, args, env, cwd, or stdio. Call once: a second creation_flags replaces the previous value.
hide_console_tokio
Same for tokio’s command (via as_std_mut).