Skip to content

Some commands not enter into interactive mode #16

@mrkeuz

Description

@mrkeuz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions