Skip to content

Commit

Permalink
Merge pull request #6305 from matthiasblaesing/cpplite2
Browse files Browse the repository at this point in the history
Stabilize CPPLite: Discard STDERR
  • Loading branch information
matthiasblaesing committed Sep 4, 2023
2 parents 0322fce + c5f87ba commit 5014c7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpplite/cpplite.editor/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
# specific language governing permissions and limitations
# under the License.

javac.source=1.8
javac.source=11
javac.target=11
javac.compilerargs=-Xlint -Xlint:-serial
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ public void stateChanged(ChangeEvent e) {
ProcessBuilder builder = new ProcessBuilder(command);
if (LOG.isLoggable(Level.FINEST)) {
builder.redirectError(Redirect.INHERIT);
} else {
builder.redirectError(Redirect.DISCARD);
}
Process process = builder.start();
InputStream in = process.getInputStream();
Expand Down

0 comments on commit 5014c7e

Please sign in to comment.