Jump to content

Terminar processo


mamaaqui
 Share

Recommended Posts

É possível de facto embora o que podes fazer depende muito de onde tentas fazer e se o programa foi aberto logo à partida em Python. O módulo subprocess (e talvez o os) deverão dar para fazer os comandos mais simples (no mínimo).

No stackoverflow aparece o seguinte tópico:

http://stackoverflow.com/questions/8602922/how-to-you-check-the-status-or-kill-an-external-process-with-python

Vale a pena dar uma vista de olhos.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.