New submission from Rajeev Chaurasia <rajeevsgs...@gmail.com>:
I am using Linux OS and using multiprocessing in my application. The child process execution get completed but the processes are not terminating. childprocess = "/opt/oracle.ahf/exachk/exachk -silentforce -showpass -dball -nocvu -autorun_id DEFAULT -localonly -sudo_remoterun 0" session = subprocess.Popen(childprocess, shell = True) session.communicate() >From the log I can see execution of childprocess scripts(exachk and exachk.py) >is completed successfully but the process remains alive forever. Also the >parent process from where I am using subprocess.Popen that also remains alive. ---------------------------------------------------- # ps -ef|grep exachk (P1) 278988 247699 0 18:46 ? 00:00:00 sh /opt/oracle.ahf/exachk/exachk -silentforce -showpass -dball -nocvu -autorun_id DEFAULT -localonly -sudo_remoterun 0 (P2) 279873 278988 39 18:46 ? 00:12:51 /opt/oracle.ahf/python/bin/python /opt/oracle.ahf/exachk/exachk.py -silentforce -showpass -dball -nocvu -autorun_id DEFAULT -localonly ---------------------------------------------------- Please help! -Rajeev ---------- components: Library (Lib) messages: 395909 nosy: rajeevkchaurasia priority: normal severity: normal status: open title: processes created by subprocess.Popen is not terminating versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44433> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com