c++filt causing flashing console windows

Andrew Haley aph@redhat.com
Tue Sep 9 11:53:00 GMT 2003


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.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /