Skip to content

pip search should set and return a userful shell status code #22

@vbabiy

Description

@vbabiy

Currently, pip search exits with the status code 0 under all non-error conditions (as does most of pip itself I'd guess). But this is not very useful for e.g. testing if pip found a result.

It would be nice if pip search returned non-zero in case it does not find anything, so it can be used in sh scripts or lines.


Metadata

Metadata

Assignees

Labels

auto-lockedOutdated issues that have been locked by automationtype: bugA confirmed bug or unintended behavior

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions