[issue44433] processes created by subprocess.Popen is not terminating

2021-06-17 Thread Eric V. Smith


Eric V. Smith  added the comment:

I'm going to close this. If you can reproduce it with a smaller program that we 
can test, please attach the information and re-open this issue.

--
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
type:  -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44433] processes created by subprocess.Popen is not terminating

2021-06-16 Thread Jack DeVries


Jack DeVries  added the comment:

For future reference, here are some good guidelines for submitting bug reports 
and asking for help to debug your code:

https://stackoverflow.com/help/minimal-reproducible-example

http://www.sscce.org/

--
nosy: +jack__d
status: pending -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44433] processes created by subprocess.Popen is not terminating

2021-06-16 Thread Eric V. Smith


Eric V. Smith  added the comment:

This is probably not a python bug. But if you can demonstrate it without 
needing to install the Oracle software, we can take a look at it. You've also 
not explained how you're using multiprocessing. We need an complete, short, 
working example program to determine if it's a python bug.

I suggest you ask this question on Stack Overflow.

Also, I'd suggest subprocess.run instead of .communicate, if you can.

--
nosy: +eric.smith
status: open -> pending

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44433] processes created by subprocess.Popen is not terminating

2021-06-16 Thread Rajeev Chaurasia


New submission from Rajeev Chaurasia :

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com