1
0
Fork 0

separate args

pull/1344/head
Cory Miller 2023-02-21 15:12:35 +00:00
parent b0ce9247be
commit 3406ce58d6
1 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,7 @@ export async function rmRF(inputPath: string): Promise<void> {
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<void> {
} else {
result = childProcess.spawn(
cmdPath,
['/s', '/c', 'del /f /q /a "%inputPath%"'],
['/s', '/c', 'del', '/f', '/q', '/a', '"%inputPath%"'],
{
env: {inputPath},
shell: true