posted 16 years ago
Hello, all,
my Java program is called when installing rpm archive (program inside), OS - Fedora 10. When it's time to get input from console, execution doesn't stop, as a result - in program error happens.
//Allows to read variables from console without type cast from string to int for example
private BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
...
//This code doesn't stop rpm execution in Fedora
String commandName = this.in.readLine();
what can I do?
Thanks in advance,
Andrey