diff --git a/packages/io/src/io.ts b/packages/io/src/io.ts index 1585d5ad..6ea8c1b5 100644 --- a/packages/io/src/io.ts +++ b/packages/io/src/io.ts @@ -140,7 +140,8 @@ export async function rmRF(inputPath: string): Promise { cmdPath, ['/s', '/c', 'rd /s /q "%inputPath%"'], { - env: {inputPath} + env: {inputPath}, + shell: true } ) } else { @@ -148,7 +149,8 @@ export async function rmRF(inputPath: string): Promise { cmdPath, ['/s', '/c', 'del /f /q /a "%inputPath%"'], { - env: {inputPath} + env: {inputPath}, + shell: true } ) }