This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++filt causing flashing console windows


Ranjit Mathew writes:
 > Andrew Haley wrote:
 > >  > If a GUI application spawns a console application, Windows will
 > >  > launch the application with an attached console (a Command Prompt
 > >  > window).
 > > 
 > > But that makes no sense in the context of Runtime.exec(), which
 > > creates an instance of Process.  The Java spec says:
 > > 
 > > "The created subprocess does not have its own terminal or console."
 > > 
 > > How much clearer can it be?
 > 
 > Ummm... it's not *that* clear you know. The line just before the
 > line you quote (from the JavaDoc for java.lang.Process in JDK
 > 1.4.1) reads "The Runtime.exec methods may not work well for
 > special processes on certain native platforms, such as *native
 > windowing processes*, daemon processes, Win16/DOS processes on
 > Microsoft Windows, or shell scripts" (emphasis mine).

I don't see how that makes any difference.  c++filt and addr2line
should not be not *native windowing processes*, daemon processes,
Win16/DOS processes on Microsoft Windows, or shell scripts.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]