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

Verify if command is running in tmux #6

Open
mr-karan opened this issue Dec 1, 2021 · 0 comments
Open

Verify if command is running in tmux #6

mr-karan opened this issue Dec 1, 2021 · 0 comments
Assignees
Milestone

Comments

@mr-karan
Copy link
Collaborator

mr-karan commented Dec 1, 2021

/api/verify/tmux <- should return if the command which was specified in the course, is running in a tmux session or not.

Use pstree / ps to determine.

Possible responses:

{
    "status": "success",
    "data": {}
}

If command is running but not in `tmux:

{
    "status": "error",
    "message": "`command` is running but not in `tmux`"
}
{
    "status": "error",
    "message": "tmux is not running"
}
@mr-karan mr-karan added this to the Week 1 Tests milestone Dec 1, 2021
@mr-karan mr-karan self-assigned this Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant