Skip to content

chore: Kill windows subprocess using kill#711

Merged
mxschmitt merged 1 commit intomicrosoft:masterfrom
kumaraditya303:kill-windows
May 26, 2021
Merged

chore: Kill windows subprocess using kill#711
mxschmitt merged 1 commit intomicrosoft:masterfrom
kumaraditya303:kill-windows

Conversation

@kumaraditya303
Copy link
Copy Markdown
Contributor

@kumaraditya303 kumaraditya303 commented May 23, 2021

There is no special handling required for windows so the code was redundant and hence removed.

@kumaraditya303 kumaraditya303 changed the title chore: Kill windows subprocess using terminate chore: Kill windows subprocess using kill May 23, 2021
@mxschmitt
Copy link
Copy Markdown
Contributor

Could you add a description why this change was done or link a bug report?

@kumaraditya303
Copy link
Copy Markdown
Contributor Author

@mxschmitt Can you explain why we need extra handling on windows to kill subprocess, as far as I know the kill function was not there in python 2.5 but we only use python 3.7+ and was added in python 2.6 and there is no need to kill using taskkill.

Copy link
Copy Markdown
Contributor

@mxschmitt mxschmitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested it and seems working.

@mxschmitt mxschmitt merged commit cf985f5 into microsoft:master May 26, 2021
@kumaraditya303 kumaraditya303 deleted the kill-windows branch May 26, 2021 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants