Skip to content

Conversation

@JackCaoG
Copy link
Collaborator

No description provided.

@JackCaoG JackCaoG requested review from jysohn23 and zcain117 April 15, 2021 23:38
@JackCaoG JackCaoG mentioned this pull request Apr 15, 2021
# pgrep returns 0 when at least one running process matches the requested name.
# Otherwise, the exit code is 1. If pgrep is not availiable in the system, it
# will return an exit code 127.
return subprocess.getstatusoutput(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice

@JackCaoG JackCaoG merged commit f41a534 into master Apr 16, 2021
@JackCaoG JackCaoG deleted the check_pgrep branch April 16, 2021 00:08
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.

4 participants