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

Feature Request: Passing input from cerebro to STDIN #9

Open
appetrosyan opened this issue Apr 3, 2017 · 6 comments
Open

Feature Request: Passing input from cerebro to STDIN #9

appetrosyan opened this issue Apr 3, 2017 · 6 comments

Comments

@appetrosyan
Copy link

appetrosyan commented Apr 3, 2017

Would be nice if the plugin would allow for passing input to stdin of command.

Because of that you can't run sudo pacman -Syu. For one sudo expects input to stdin, plus pacman will ask for confirmation as will any package manager for any distro.

@ta3pks
Copy link

ta3pks commented Apr 7, 2017

you could use gksu @appetrosyan but anyway it could be really cool to be able to use stdin so +1

@appetrosyan
Copy link
Author

Pkexec works too, problem is, a program that asks a simple yes/no question will be unusable.

@ta3pks
Copy link

ta3pks commented Apr 7, 2017

I think instead of trying to develop whole new terminal emulator inside the cerebo it could be easier just to open up a new terminal session by this way it could be cool to use ssh sessions as well fired from the cerebo. In synapse i used to use such a feature

@KELiON
Copy link
Collaborator

KELiON commented Apr 7, 2017

+1 for @NikosEfthias solution. I'd just add some shortcut (like cmd/ctrl/whatever+enter) that opens default terminal emulator with entered input.

@ta3pks
Copy link

ta3pks commented Apr 7, 2017

@KELiON do we need to get something after you merged the changes or does cerebo updates automatically ?

@KELiON
Copy link
Collaborator

KELiON commented Apr 10, 2017

@NikosEfthias merged what? It is not implemented yet, but Cerebro has plugin autoupdates system

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

No branches or pull requests

3 participants