From 3406ce58d6b48e7014397e57b529d94a2133dec4 Mon Sep 17 00:00:00 2001 From: Cory Miller <13227161+cory-miller@users.noreply.github.com> Date: Tue, 21 Feb 2023 15:12:35 +0000 Subject: [PATCH] separate args --- packages/io/src/io.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/io/src/io.ts b/packages/io/src/io.ts index 6ea8c1b5..42158703 100644 --- a/packages/io/src/io.ts +++ b/packages/io/src/io.ts @@ -138,7 +138,7 @@ export async function rmRF(inputPath: string): Promise { if (await ioUtil.isDirectory(inputPath, true)) { result = childProcess.spawn( cmdPath, - ['/s', '/c', 'rd /s /q "%inputPath%"'], + ['/s', '/c', 'rd', '/s', '/q', '"%inputPath%"'], { env: {inputPath}, shell: true @@ -147,7 +147,7 @@ export async function rmRF(inputPath: string): Promise { } else { result = childProcess.spawn( cmdPath, - ['/s', '/c', 'del /f /q /a "%inputPath%"'], + ['/s', '/c', 'del', '/f', '/q', '/a', '"%inputPath%"'], { env: {inputPath}, shell: true