Flask-Shell2HTTP icon indicating copy to clipboard operation
Flask-Shell2HTTP copied to clipboard

Execute shell commands via HTTP server (via flask's endpoints).

Results 11 Flask-Shell2HTTP issues
Sort by recently updated
recently updated
newest added

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...

enhancement

- [x] Make `Shell2HTTP` a subclass of `Flask.Blueprint` class and related fixes. - [ ] Update examples - [ ] Update tests - [ ] Update docs

Currently, flask-shell2http works just like any other flask extension; you create an object from a class to which you pass the flask application instance. We could follow a different approach...

enhancement

> I figured out that the issue has to do with having multiple Gunicorn workers handling requests. The report only exists for the same worker that handled the original request....

bug

When using `&wait=true`, the `callback_fn` cannot be used to modify the result because it is called _after_ the future completes. This happens if one calls `future.done()` to wait before the...

bug

An important test case is missing. See codecov diff: https://codecov.io/gh/Eshaan7/flask-shell2http/src/master/flask_shell2http/classes.py#L146

testing

This extension is quite configurable and different users may choose to use it differently. For this, we should add more examples under [examples/](examples/). These can be something new or ones...

documentation
enhancement

### Discussed in https://github.com/eshaan7/Flask-Shell2HTTP/discussions/56 Originally posted by **tomvanderputte** November 6, 2023 Is it possible to intercept and change the dynamic arguments before the command is triggered? The reason is: the...

enhancement

`2023-04-25 23:12:39 ERROR:flask_shell2http:future_key ebbb407f already exists 2023-04-25 23:12:39 ERROR:flask_shell2http:No report exists for key: 'ebbb407f'.` These are interspersed with working calls. I turned off `wait=true` and switched to polling. This reduced...