Skip to content

Commit c41f0c9

Browse files
flip command
1 parent 84a969c commit c41f0c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ export async function KillChildProcesses(procInfo: ProcInfo): Promise<void> {
557557
try {
558558
if (process.platform === 'win32') {
559559
const command = `Get-CimInstance Win32_Process -Filter "ParentProcessId=${procInfo.pid}" | ForEach-Object { Stop-Process -Id $_.ProcessId -Force }`;
560-
await Exec('powershell', ['-Command', command], { silent: true, showCommand: true });
560+
await Exec('powershell', ['-Command', command], { silent: true, showCommand: false });
561561
} else { // linux and macos
562562
const psOutput = await Exec('ps', ['-eo', 'pid,ppid,comm'], { silent: true, showCommand: false });
563563
const lines = psOutput.split('\n').slice(1); // Skip header line

0 commit comments

Comments
 (0)