Skip to content

chore: Kill windows subprocess using kill #711

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 26, 2021
Merged

chore: Kill windows subprocess using kill #711

merged 1 commit into from
May 26, 2021

Conversation

kumaraditya303
Copy link
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
Member

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

@kumaraditya303
Copy link
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
Member

@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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy