File tree Expand file tree Collapse file tree
app/src/processing/mode/java Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -149,8 +149,12 @@ public void close() { }
149149 writer .flush ();
150150 writer .close ();
151151
152+ String errorString = errorBuffer .toString ();
153+ if (errorString .trim ().length () != 0 ) {
154+ success = false ;
155+ }
152156 BufferedReader reader =
153- new BufferedReader (new StringReader (errorBuffer . toString () ));
157+ new BufferedReader (new StringReader (errorString ));
154158 //System.err.println(errorBuffer.toString());
155159
156160 String line = null ;
Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ cmd_name='processing-java'
104104if [ $current_name = $cmd_name ]
105105then
106106 java processing.mode.java.Commander " $@ "
107+ exit $?
107108else
108109 # Start Processing in the same directory as this script
109110 if [ " $1 " ]; then
You can’t perform that action at this time.
0 commit comments