We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
/usr/bin/find /non/existent/path | /usr/bin/wc -l linux command line return: 0 (correct) delegator c.out = 2 (incorrect)
As per the above, if I run this on the linux command line, I get 0 (correct). But when I pass this through delegator, I get 2.
path = '/non/existent/path' the_command = f'/usr/bin/find {path} | /usr/bin/wc -l' c = delegator.chain(the_command) output = (c.out).rstrip() print(output) 2
and for a path that exists, that returns 1900 on the linux command line, delegator returns 1901.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
/usr/bin/find /non/existent/path | /usr/bin/wc -l
linux command line return: 0 (correct)
delegator c.out = 2 (incorrect)
As per the above, if I run this on the linux command line, I get 0 (correct).
But when I pass this through delegator, I get 2.
path = '/non/existent/path'
the_command = f'/usr/bin/find {path} | /usr/bin/wc -l'
c = delegator.chain(the_command)
output = (c.out).rstrip()
print(output)
2
and for a path that exists, that returns 1900 on the linux command line, delegator returns 1901.
The text was updated successfully, but these errors were encountered: