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

#41 Replaced ProcessBuilder usage with commons-exec #561

Merged
merged 1 commit into from Mar 10, 2017

Conversation

stustison
Copy link
Contributor

@stustison stustison commented Feb 1, 2017

This is just a rebase of the PR submitted for this previously ( #345 ) with merge conflicts resolved. This fixes #41

The previous summary still applies:
By using commons-exec instead of plain ProcessBuilder we can support killing the Node process if the Maven build is stopped (via ShutdownHookProcessDestroyer). An optional timeout (which leverages ExecuteWatchdog) can be specified (not exposed to the task runners yet).

With commons-exec we get quote handling and variable substitution in arguments for free (via CommandLine.addArgument()).

A workaround for #343 is implemented as well.

@stustison
Copy link
Contributor Author

Is there anything else this PR needs in order to get merged?

@mriehema
Copy link
Contributor

mriehema commented Mar 9, 2017

I'm waiting for travis results. Is it possible to trigger it again?

@eirslett
Copy link
Owner

Looks OK now.

@eirslett eirslett merged commit e440ef5 into eirslett:master Mar 10, 2017
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

Successfully merging this pull request may close these issues.

Node keeps running when killing maven
3 participants