Prevent Windows console window for yaaknode and yaakprotoc

Add new_xplatform_command() helper in yaak-common that creates a
tokio::process::Command with CREATE_NO_WINDOW flag set on Windows.

Also converts git commands to async for consistency.
This commit is contained in:
Gregory Schier
2026-01-11 15:07:56 -08:00
parent 72a7e6963d
commit 42143249a2
15 changed files with 102 additions and 69 deletions

4
Cargo.lock generated
View File

@@ -8075,6 +8075,7 @@ name = "yaak-common"
version = "0.1.0"
dependencies = [
"serde_json",
"tokio",
]
[[package]]
@@ -8121,8 +8122,10 @@ dependencies = [
"serde_json",
"serde_yaml",
"thiserror 2.0.17",
"tokio",
"ts-rs",
"url",
"yaak-common",
"yaak-models",
"yaak-sync",
]
@@ -8149,6 +8152,7 @@ dependencies = [
"tonic",
"tonic-reflection",
"uuid",
"yaak-common",
"yaak-tls",
]