[issue30921] Process in not get killed using subprocess.call() in python thread

2017-07-13 Thread Guido van Rossum
Guido van Rossum added the comment: Please find a list like python-list (comp.lang.python) to ask for help with your problem. Also please stop adding people to the nosy list. -- stage: -> resolved status: open -> closed ___ Python tracker

[issue30921] Process in not get killed using subprocess.call() in python thread

2017-07-13 Thread Sanket
Changes by Sanket : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue30921] Process in not get killed using subprocess.call() in python thread

2017-07-13 Thread Sanket
Changes by Sanket : -- nosy: +lars.gustaebel, lemburg, pedronis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30921] Process in not get killed using subprocess.call() in python thread

2017-07-13 Thread Sanket
Changes by Sanket : -- nosy: +djc, gvanrossum -sanky8793 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue30921] Process in not get killed using subprocess.call() in python thread

2017-07-13 Thread Sanket
New submission from Sanket: import threading import subprocess def B(): while True: break cmd="ps -ef | grep 'shell' | awk '{print $2}' | xargs kill -9" subprocess.call(cmd, shell=True) def A(): th = threading.Thread(target=B) th.start() In above code, process