Skip to content

terminateProcess() should not use cp.spawnSync() or cp.execFileSync() #70578

@bpasero

Description

@bpasero

Looks like terminateProcess is being used from the renderer and has 2 occurrences of cp.execFileSync() and cp.spawnSync() that should use the async variant instead. It should be possible to just return a promise from this method.

Feel free to move forward if you are not the owner of this method, I just went by git history.terminateProcess

Metadata

Metadata

Assignees

Labels

debtCode quality issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions