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

issue #60: Stop-button is not working #179

Merged
merged 1 commit into from
Oct 19, 2015
Merged

issue #60: Stop-button is not working #179

merged 1 commit into from
Oct 19, 2015

Conversation

missedone
Copy link
Collaborator

fix issue #60 by stop the process
if eclipse is running on windows, it leaves the shutdown to ILaunch.terminate(), otherwise force kill the process by pid.

// since on Linux the default behaviour of Process.destroy() is to gracefully shutdown
// which rarely can stop the busy process
Runtime rt = Runtime.getRuntime();
rt.exec("kill -9 " + pid);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

force kill the process on OSX and Linux-like platform

cbeust added a commit that referenced this pull request Oct 19, 2015
issue #60: Stop-button is not working
@cbeust cbeust merged commit cc5aeea into testng-team:master Oct 19, 2015
@missedone missedone deleted the issue/60 branch October 19, 2015 23:29
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.

None yet

3 participants