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

Possibility to interrupt command #38

Open
njxqlus opened this issue Dec 22, 2021 · 4 comments · Fixed by #39
Open

Possibility to interrupt command #38

njxqlus opened this issue Dec 22, 2021 · 4 comments · Fixed by #39
Labels
enhancement New feature or request

Comments

@njxqlus
Copy link

njxqlus commented Dec 22, 2021

Is it possible to interrupt command (like CTRL+C)?

For example, I started Locust (load testing framework) for one file, now I want to stop it and start one more test with other params.

@eshaan7 eshaan7 added the enhancement New feature or request label Dec 22, 2021
@eshaan7
Copy link
Owner

eshaan7 commented Dec 22, 2021

Hello.

At the moment, there's no way to request cancellation of a running command but I can see how it could be an useful addition to this package.

Meanwhile, you may be able to achieve what you want by providing a lower timeout value and making force_unique_key=true. Refer here.

@eshaan7 eshaan7 linked a pull request Dec 22, 2021 that will close this issue
4 tasks
eshaan7 added a commit that referenced this issue Dec 22, 2021
* api: Shell2HttpAPI.delete method
* tests: TestDeletion testcase
* example: add deletion.py
* docs: info about deletion.py
@njxqlus
Copy link
Author

njxqlus commented Dec 22, 2021

@eshaan7 OMG, so fast! Thank you, waiting for new release

@eshaan7
Copy link
Owner

eshaan7 commented Dec 22, 2021

You're welcome, @njxqlus!
This feature is available in the v1.9.0 release which is already live on pypi.

@njxqlus
Copy link
Author

njxqlus commented Dec 22, 2021

Delete endpoint still don't terminate or kill process. That's mean, for example, if I call sleep for 10 minutes, process sleep will exists for 10 minutes

@eshaan7 eshaan7 reopened this Feb 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants