Skip to content

Commit

Permalink
Avoid JDK warning when checking the exec provider (#895)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Nov 2, 2023
1 parent 2fd5c9d commit bf698ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public Terminal newTerminal(
@Override
public boolean isSystemStream(SystemStream stream) {
try {
return isWindowsSystemStream(stream) || isPosixSystemStream(stream);
return isPosixSystemStream(stream) || isWindowsSystemStream(stream);
} catch (Throwable t) {
return false;
}
Expand Down

0 comments on commit bf698ba

Please sign in to comment.