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

Apply retcode=None to the whole Pipeline tree (ie. when >2 commands in pipeline) #288

Merged
merged 1 commit into from
Sep 23, 2016

Conversation

xpinguin
Copy link
Contributor

Hi!

I've noticed, that current implementation does not allow to disable returncode verification for the whole pipeline (Pipeline tree),
eg. (netstat["-tnlp"] | grep[pid] | grep[port])(retcode = None) fails at grep[pid]: nonzero returncode
while (netstat["-tnlp"] | grep[pid])(retcode = None) works as expected

Am I missing something?

Thanks! :)

Hi!

I've noticed, that current implementation does not allow to disable returncode verification for the whole Pipeline,
eg. (netstat["-tnlp"] | grep[pid] | grep[port])(retcode = None)
still fails at grep[pid]: nonzero returncode
while (netstat["-tnlp"] | grep[pid])(retcode = None)
works as expected

Am I missing something?

Thanks! :)
@coveralls
Copy link

coveralls commented Jul 25, 2016

Coverage Status

Coverage decreased (-0.01%) to 80.73% when pulling eb217d4 on xpinguin:patch-1 into df7ab6a on tomerfiliba:master.

@henryiii
Copy link
Collaborator

Thanks! I'll merge it and then write some tests.

@henryiii henryiii merged commit 335fbf0 into tomerfiliba:master Sep 23, 2016
henryiii added a commit that referenced this pull request Sep 23, 2016
@xpinguin xpinguin deleted the patch-1 branch November 17, 2016 03:55
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

Successfully merging this pull request may close these issues.

3 participants