PR# 10787 External editor leaves defunct process when exited

Problem Report Summary
Submitter: prestoat2000
Category: EiffelStudio
Priority: Medium
Date: 2006/07/26
Class: Bug
Severity: Non-critical
Number: 10787
Release: 5.7.61570
Confidential: No
Status: Suspended
Responsible:
Environment: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.10) Gecko/20050726 Firefox/1.0.6 Solaris 9 on SPARC
Synopsis: External editor leaves defunct process when exited

Description
If I click on Send to External Editor or the W_code or F_code
buttons in C Output, when I exit the resulting editor or
xterm window a defunct process is left around.  Estudio should be cleaning these up by waiting for them to get their
status, at some appropriate point.  The defunct processes
can easily be seen on Solaris by using "ptree <estudio pid>".
To Reproduce

										
Problem Report Interactions
From:jasonw    Date:2006/07/28    Status: Suspended    Download   
This is an old issue. It is because we don't know when launched external editor or file browser exits. So we don't wait for them. One solution is to use process library to deal with them, but then threads will be used to wait for launched processes which will slow down EiffelStudio.

From:jasonw    Date:2006/07/26    Status: Analyzed    Download   
It is analyzed.