[Mono-bugs] [Bug 541225] New: Terminal immediately exits after running program or building RPM destroying all output from process

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Sep 22 18:08:28 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=541225


           Summary: Terminal immediately exits after running program or
                    building RPM destroying all output from process
    Classification: Mono
           Product: Mono: Tools
           Version: SVN
          Platform: x86
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: Visual Studio Integration
        AssignedTo: jpobst at novell.com
        ReportedBy: mchristensen at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Component Test


The new behavior of defaulting to running programs in a terminal helps a bit to
see output from programs while they are running however, the terminal needs to
stay around after the program exits if possible.  When is does not, the
debugging data and any output from the terminal that is sent to stdout/err is
lost.

This is very apparent when debugging an RPM build.  In this case, as soon as
the rpmbuild process exits, the valuable output from the build process is gone
when the terminal vanishes.

This could be avoided by running a shell script which wraps around their
program rather than using their program as the shell (which when it exits,
immediately terminates gnome-terminal).

This shell script could spawn the program and once it exits, require
interaction from the user to close the terminal such as "Enter X to exit" or C
to close, etc.  Waiting for a specific string could avoid accidental closure.

This could be an optional behavior as it may not be needed all the time
however, it is critical for debugging some applications.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list