Skip to content
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

mvn gluonfx:runagent, how to propperly finish console apps? #515

Open
ctoabidmaqbool1 opened this issue Aug 20, 2024 · 0 comments
Open

mvn gluonfx:runagent, how to propperly finish console apps? #515

ctoabidmaqbool1 opened this issue Aug 20, 2024 · 0 comments

Comments

@ctoabidmaqbool1
Copy link

Normaly, when agent is running, it create lock file e.g. resources/META-INF/native-image/.lock. It's deleted when Java program exit/ finish completely.

mvn gluonfx:runagent

But in case of console App there is no way to exit program compley, E.g. When someone press CTRL + C, instead of exiting the Java program maven demon / batch job exits and it's auto terminate the java program.

In this case .lock file remains there and no native-image configuration updated.

So how to solve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant