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

Some commands not enter into interactive mode #16

Open
mrkeuz opened this issue Apr 3, 2021 · 0 comments
Open

Some commands not enter into interactive mode #16

mrkeuz opened this issue Apr 3, 2021 · 0 comments

Comments

@mrkeuz
Copy link

mrkeuz commented Apr 3, 2021

Hi,
first for all, I want to say GREAT THANKS YOU for cool, simple and elegant tool!
I've been looking for a long time way to rewrite some complex bash scripts in python, but every time I frustrated due missing simple and convenient way to use something cool things from bash like pipes and other things. Code on python in this case was bloated and inconvenient to write and use.

Your tool changed the things for me! Thank you!

About issue:
Some commands working well with interactive input.
E.g. next commends working well - it stops script :

  • bash("sudo echo hello")
  • bash("ssh user@server")

But by some reason next command not enter into interactive mode:

  • bash("read answer")

In pure bash read answer working well.

I'm not strong in shell and terminal deep interaction mechanics, especially with python layer.
But I think these command use different mechanisms to enter to interactive mode.

Version of python bash package:

$ pip show bash 
Name: bash
Version: 0.6
...
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

1 participant