Skip to content

Handle Xvfb exiting immediately on spawn with 1 exit code #1113

@brian-mann

Description

@brian-mann

I noticed today there is an edge case we specifically do not handle.

If Xvfb spawns and then immediately exits due to argument or permission errors, it will close with 1 exit code. Due to the way we call into this, the CLI will just "hang" forever.

This could be why some linux users have detected Cypress "hanging" initially on run without any output.

We need to update @cypress/xvfb.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions