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

Parallel client going out of scope closes connections with active output objects #274

Open
pkittenis opened this issue Jan 15, 2021 · 0 comments
Labels

Comments

@pkittenis
Copy link
Member

pkittenis commented Jan 15, 2021

Describe the bug
Parallel client going out of scope closes connections with active output objects.

To Reproduce

Steps to reproduce the behavior:

output = ParallelClient(['localhost']).run_command('echo me')
print(list(output[0].stdout))

Output can be truncated.

Expected behavior
Output can be read in its entirety while output objects are in scope.

Actual behaviour
Cannot read complete output.

Additional information
parallel-ssh: 2.5.3
ssh2-python: 0.22.0

@pkittenis pkittenis added the bug label Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant