We need to do this on WinME as well.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: Getdown.java,v 1.31 2004/07/31 03:55:16 mdb Exp $
|
||||
// $Id: Getdown.java,v 1.32 2004/08/02 20:07:33 mdb Exp $
|
||||
|
||||
package com.threerings.getdown.launcher;
|
||||
|
||||
@@ -465,14 +465,16 @@ public class Getdown extends Thread
|
||||
// on Windows 98 we need to stick around and read the output
|
||||
// of stdout lest the process fills its output buffer and
|
||||
// chokes, yay!
|
||||
if (System.getProperty("os.name").indexOf("Windows 98") != -1) {
|
||||
String osname = System.getProperty("os.name").toLowerCase();
|
||||
if (osname.indexOf("windows 98") != -1 ||
|
||||
osname.indexOf("windows me") != -1) {
|
||||
// close our window if it's around
|
||||
if (_frame != null) {
|
||||
_frame.dispose();
|
||||
_status = null;
|
||||
_frame = null;
|
||||
}
|
||||
Log.info("Sticking around to read stderr on Win98...");
|
||||
Log.info("Sticking around to read stderr on " + osname + "...");
|
||||
InputStream stderr = proc.getErrorStream();
|
||||
BufferedReader reader = new BufferedReader(
|
||||
new InputStreamReader(stderr));
|
||||
|
||||
Reference in New Issue
Block a user