Skip to content

Bash variable substitution issue #34

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

Closed
pkittenis opened this issue Aug 11, 2015 · 2 comments
Closed

Bash variable substitution issue #34

pkittenis opened this issue Aug 11, 2015 · 2 comments
Assignees

Comments

@pkittenis
Copy link
Member

Reproduction:

import pssh
client = pssh.ParallelSSHClient(hosts=['localhost'])
command = """for i in 1 2 3; do echo $i; done"""
list(client.run_command(command)['localhost']['stdout'])
['', '', '']

Output should be [1,2,3].

pkittenis pushed a commit that referenced this issue Aug 11, 2015
@pkittenis pkittenis added this to the Release 0.80 milestone Aug 11, 2015
@pkittenis
Copy link
Member Author

This is resolved in current master branch.

Pending #24 in order to be able to make a test for this behaviour which is bash-specific.

@pkittenis pkittenis self-assigned this Aug 13, 2015
@pkittenis pkittenis modified the milestones: Release 0.80, Release 0.71 Sep 25, 2015
pkittenis pushed a commit that referenced this issue Sep 25, 2015
@pkittenis
Copy link
Member Author

Resolved by 0.70.4

@pkittenis pkittenis removed this from the Release 0.71 milestone Sep 25, 2015
pkittenis pushed a commit that referenced this issue Sep 25, 2015
pkittenis pushed a commit that referenced this issue Sep 25, 2015
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