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

Run and kill as process group #71

Merged

Conversation

andreyrusanov
Copy link

This pull requests partially fixes #8 - it is a fix for Linux only.
Previously after server had stopped I had unkilled process:

java -Dapp.name=browsermob-proxy -Dbasedir=/opt/browsermob-proxy-2.1.4 -jar /opt/browsermob-proxy-2.1.4/lib/browsermob-dist-2.1.4.jar --port=8080

This PR fixes it.

For Windows, the process has to be called with something like:

os.kill(pgrp, signal.CTRL_C_EVENT)

I don't have windows so can't test it, unfortunately.

@hbbtstar
Copy link

hbbtstar commented Mar 8, 2018

@AutomatedTester did you guys get a chance to take a look at this? I am using it on a forked branch currently in ubuntu, it works well- would be great if we could get this merged!

@Kocuru
Copy link

Kocuru commented Apr 25, 2018

Hi, I also use andreyrusanov forked branch and it works great! Could you merge this PR please?

@roman-udka
Copy link

@AutomatedTester Could you please merge it.

@AutomatedTester AutomatedTester merged commit 8862b29 into AutomatedTester:master May 23, 2018
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.

Server.stop() does not kill the java process in Windows
5 participants