Skip to content
Snippets Groups Projects
user avatar
Shawn Pearce authored
If we are on a Java 6 JVM we should have the Console class available,
unless the user has redirected /dev/null to stdin.  When there is a
console present we would prefer to use that for command line prompts
as that is what the user expects from a command line tool.

Change-Id: Ibaf87bb5540371d94d96d1b7e94ca002f752e5bd
Signed-off-by: default avatarShawn O. Pearce <spearce@spearce.org>
7e8dc538
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Name Last commit Last update
..