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

byte parameters and command names should be used as is #600

Open
vcalv opened this issue Jun 4, 2022 · 0 comments
Open

byte parameters and command names should be used as is #600

vcalv opened this issue Jun 4, 2022 · 0 comments

Comments

@vcalv
Copy link

vcalv commented Jun 4, 2022

for example:

print(plumbum.local['echo'](b'test'))

should result in

test

but instead it results in:

b'test'

byte objects are not even supported in command names:

plumbum.local[b'echo']

results in a type error

TypeError: a bytes-like object is required, not 'str'

in plumbum/machines/local.py:243

@vcalv vcalv changed the title byte parameters and command names should be use as is byte parameters and command names should be used as is Jun 4, 2022
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