You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Route non-interactive CLI, dispatch, service, adapter, and test
processes through the shared process factories so Windows release and
headless hosts do not flash console windows.
Apply explicit CREATE_NO_WINDOW where lower-level test helpers cannot
depend on process-runtime, and set windowsHide for the built-in Graphviz
renderer. Document the repository-wide rule for future call sites.
- Desktop-only host adapters belong in `src/apps/desktop`, then flow through typed capability interfaces and, when event delivery is needed, the production transport adapter.
153
153
- In shared core, avoid host-specific APIs such as `tauri::AppHandle`; use shared abstractions such as `bitfun_events::EventEmitter`.
154
154
155
-
#### Child processes in GUI hosts
155
+
#### Non-interactive child processes
156
156
157
-
- GUI hosts such as Desktop and Installer must not spawn child processes with bare
158
-
`std::process::Command` or `tokio::process::Command`. Prefer
157
+
- Any non-interactive child process that may run under a GUI, headless,
158
+
background, or redirected host must not use bare `std::process::Command` or
159
+
`tokio::process::Command`, including CLI modes that another host can invoke.
0 commit comments