ZcashFoundation / zebra-launcher

This repo holds a Tauri app for Zebra to provide a GUI with webviews and a multi-platform installer
0 stars 0 forks source link

Avoid creating console windows for child processes on windows #14

Closed arya2 closed 8 months ago

arya2 commented 8 months ago

Motivation

There's no need for the empty console window that's opened for the zebrad child process on Windows, and it ends the process when the window is closed, which may be a bad UX.

Solution

Define a CREATE_NO_WINDOW creation flag and include it when spawning child processes on Windows.

Follow Up Work

Include stderr output in the logs displayed in the webview.