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

safe bash based remote_process_exists #14

Closed
wants to merge 1 commit into from

Conversation

kritik
Copy link

@kritik kritik commented Dec 28, 2014

No description provided.

@sepastian
Copy link
Owner

Hello @kritik, sorry for the wait.

I can't quite see how your pr is more bash safe than what we have today. Maybe it's just me, can you explain?

@kritik
Copy link
Author

kritik commented Feb 10, 2015

not more safe, but you're not rescueing any more with my patch. One line of just checking if process is running is much bullet-proof than checking file, trying to kill without killing it self and if process doesn't exist rescuing it.

Isn't it more elegant?

@sepastian sepastian closed this Feb 15, 2016
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.

2 participants