Skip to content

wai-handler-launch should not launch a browser if server startup failed ? #537

@simonmichael

Description

@simonmichael

In simonmichael/hledger#226, if server startup fails, eg because of the port being in use, I don't want to show users a useless browser window.

I think we could propagate exceptions from the forked server thread back to the parent, which would prevent the launch. And/or, we could expose the monitored server starting and the cross-platform browser launching as separate features, allowing more control.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions