mojohaus / mojohaus/exec-maven-plugin
System.out.print(">") not work
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 191
- Forks
- 111
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 4
Description
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:
private void run() {
System.out.println("started");
Scanner in = new Scanner(System.in);
String command;
System.out.print(">");
while (!(command = in.nextLine()).equals("q")) {
}
}
thanks
Peter
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no repository file or test; start by reproducing the Java snippet through the exec-maven-plugin and checking how its standard input and output are connected. Done means establishing why the prompt does not appear and documenting or correcting the behavior, with a regression test if the project has a suitable test location.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100