Skip to content

Commit

Permalink
FLEXY-4848: Add PID in quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjeet-tw committed Oct 31, 2023
1 parent 670b5fb commit 001b27b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/flex-plugin-e2e-tests/src/utils/spawn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const killChildProcess = async (
.catch(async (error) => {
logger.error(`Error killing the process, error message is: ${error}`);
logger.error(`Check is Process status: ${error}`);
await promisifiedSpawn('tasklist', ['/v', '/fi', `PID eq ${child.pid}`]);
await promisifiedSpawn('tasklist', ['/v', '/fi', `"PID eq ${child.pid}"`]);
// logger.info("Trying second time to kill the process");
// await promisifiedSpawn('taskkill', ['/pid', `${child.pid}`, '/f', '/t']);
});
Expand Down

0 comments on commit 001b27b

Please sign in to comment.