id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
4447	F10/exit leaves 2 orphaned processes behind	Bernward		"mc with subshell support opens 3 processes,
two of them are left orphaned behind after exit.

How to reproduce/monitor:
I monitor processes in a first window with
    while true; do clear; ps -f; sleep 1; done
After opening mc with /usr/local/bin/mc in second window
the monitor extends by following lines:

68246 pa  S+       0:00.13   |   `-- /usr/local/bin/mc
49883 pb  T+p      0:00.01   |     `-- /bin/ksh
 5455 pb  Z+p      0:00.00   |       `-- (ksh)

After exit of mc with F10 these 2 lines remain;

49883 pb  T+p      0:00.01 /bin/ksh
 5455 pb  Z+p      0:00.00 - (ksh)

This behavior does not ocur when I start mc with option -u.

System      : OpenBSD 7.2
Details     : OpenBSD 7.2 (GENERIC.MP) #6: Sat Jan 21 01:03:04 MST 2023
 root@syspatch-72-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
Architecture: OpenBSD.amd64
Machine     : amd64

Regards, Bernward"	defect	new	minor	Future Releases	mc-core	4.8.28			robert@…			no branch	
