-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.out.print(">") not work #159
Comments
I'm having the same problem. I wanted to write an interactive command line program, but this is so annoying. Even if I manually flush Would be nice to at least get some feedback. |
Same problem here .... Even replaced Also, I have another problem i.e., after the Please provide some feedback ... |
I had the same problem. A workaround for me was to use an older version of maven (3.3.9). Anyway I don't think this is related to exec-maven-plugin at all |
@YoungFrog really sad |
Same problem here, after some trials and errors I found that the problem seems to be in the 'exec:exec' goal because when using exec:java goal it works like a charm. Simple example to test it on:
When run on command line with exec:exec goal, the prompt 'Enter your name' doesn't show up, until you enter something and only then it appears together with the message 'Your name is ...' The output looks like this (my name is Atrament):
When using the goal exec:java, the prompt shows up and the output looks like expected:
|
Very unfortunate, I was testing this plugin with some interactive bash scripts and the prompts simply don't show up: read -p "Enter something: " Prints a blank line. |
Hi
System.out.print(">") not work, event i added System.out.flush(). The ">" never appear on screen. I am not sure Scanner::nextLine() affect it. Below is my code:
thanks
Peter
The text was updated successfully, but these errors were encountered: