apache / maven-mvnd

Apache Maven Daemon
https://maven.apache.org/
Apache License 2.0
2.87k stars 205 forks source link

Support background execution #212

Open gnodet opened 3 years ago

gnodet commented 3 years ago

When a process is executed in the background, it stops when reading from the input stream. Because of the readInputLoop, the mvnd process is stopped immediately. This involves checking the SIGTSTP with JLine, stopping the thread and resuming it when the SIGCONT is received.

gnodet commented 3 years ago

SIGTSTP has the same problem than #193 .