Skip to content

"Loading: No" Returns Successful ("0") Exit Status #69

@malanmurphy

Description

@malanmurphy

chrome-cli v1.8.0

When chrome-cli fails to load a URL, it returns a status message of "Loading: No" yet it returns an exit status of "0", inferring that loading the URL was successful when the error message states that it wasn't.

To repo:

$ chrome-cli open

Continually until you receive a response that "Loading: No" (you will eventually, see #68 for more info). Once you receive a failed loading message:

$ echo $?

It will return a "0" even though the error message states it failed to load. This incorrect error status prevents testing to see if a URL was successfully loaded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions