@wrongstack/webui 0.236.0 → 0.250.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -601,7 +601,7 @@ import {
601
601
  } from "@wrongstack/core";
602
602
  function isGitRepo(cwd) {
603
603
  try {
604
- const r = spawnSync("git", ["rev-parse", "--is-inside-work-tree"], { cwd, encoding: "utf8" });
604
+ const r = spawnSync("git", ["rev-parse", "--is-inside-work-tree"], { cwd, encoding: "utf8", windowsHide: true });
605
605
  return r.status === 0 && r.stdout.trim() === "true";
606
606
  } catch {
607
607
  return false;
@@ -2024,7 +2024,7 @@ function browserOpenCommand(url, platform = process.platform) {
2024
2024
  function openBrowser(url, platform = process.platform) {
2025
2025
  try {
2026
2026
  const { command, args } = browserOpenCommand(url, platform);
2027
- const child = spawn(command, args, { stdio: "ignore", detached: true });
2027
+ const child = spawn(command, args, { stdio: "ignore", detached: true, windowsHide: true });
2028
2028
  child.on("error", () => {
2029
2029
  });
2030
2030
  child.unref();