Capacitor command fix (#498)

This commit is contained in:
Will Chen
2025-06-25 16:45:49 -07:00
committed by GitHub
parent a985a5aadf
commit d5307a7207
3 changed files with 8 additions and 1 deletions

View File

@@ -8,11 +8,13 @@ export async function simpleSpawn({
cwd,
successMessage,
errorPrefix,
env,
}: {
command: string;
cwd: string;
successMessage: string;
errorPrefix: string;
env?: Record<string, string>;
}): Promise<void> {
return new Promise<void>((resolve, reject) => {
logger.info(`Running: ${command}`);
@@ -20,6 +22,7 @@ export async function simpleSpawn({
cwd,
shell: true,
stdio: "pipe",
env,
});
let stdout = "";