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

Unblock execute command if no output is requested #1136

Merged
merged 1 commit into from Mar 8, 2023

Conversation

DominicBreuker
Copy link
Contributor

Follow-up for #1130 , reap zombies but don't block.

As an operator using an interactive session, I want to be able to run a command like execute /bin/bash -c 'sleep 10' without having to wait for it to finish, because I need a way to launch long-running processes without making the session unusable.

Waiting for the command in a separate Goroutine allows to return from the task immediately while making sure no defunct processes are left over.

@DominicBreuker DominicBreuker requested a review from a team as a code owner March 7, 2023 21:21
@rkervella
Copy link
Member

Thanks for taking care of it, I ended up being busy last night :)

@moloch-- moloch-- merged commit 1f76a3f into BishopFox:master Mar 8, 2023
@DominicBreuker
Copy link
Contributor Author

🙇

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