-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Bidirectional userscripts / output from commands #902
Comments
Here is a "simpler" solution which I hope fulfills a large number of use cases. I understand though it is probably better to do a proper solution which is what this issue is about. Idea: re-execute the userscript with the output as a last argument. This would make it easy for existing bash scripts to use this functionality. Would work on windows. Probably need a way to specify arguments to the script (so it knows its getting output). For example I really want to have |
We could serialize the return values from |
Things are always simple if you're not actually implementing and maintaining them 😉 A solution for this will at least need to be designed to work with more commands than only |
In several situations (mainly userscripts and in the future plugins), it would be nice if qutebrowser commands could have a return value, which then gets communicated back to the caller in some way.
The text was updated successfully, but these errors were encountered: