mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 18:10:43 +01:00
modify return code handling from the Command script (#1798)
This commit is contained in:
@@ -149,8 +149,12 @@ public class Compiler {
|
||||
writer.flush();
|
||||
writer.close();
|
||||
|
||||
String errorString = errorBuffer.toString();
|
||||
if (errorString.trim().length() != 0) {
|
||||
success = false;
|
||||
}
|
||||
BufferedReader reader =
|
||||
new BufferedReader(new StringReader(errorBuffer.toString()));
|
||||
new BufferedReader(new StringReader(errorString));
|
||||
//System.err.println(errorBuffer.toString());
|
||||
|
||||
String line = null;
|
||||
|
||||
Reference in New Issue
Block a user