Skip to content

Linux launch_app takes 30 s to return when the launched app keeps its inherited output pipes open #598

Done

Description

@SSFSKIM

What happens: on Linux, launch_app takes about 30 s to return for an app that keeps its standard output open, long after its window is up. Measured through cua's own function at 30,036 ms and 30,057 ms (#228's pre-flight, 2026-11-27, branch 228-preflight 91eebfc, docs/evidence/2026-11-27-electron-a11y/).

Cause (diagnosed): runGioLaunch gives gio launch pipes for its output. The launched app inherits them and keeps them open, so execFile's promise settles only at its 30 s timeout.

Done when: launch_app returns soon after gio launch itself has launched the app, whether or not the app keeps its inherited output open. A test shows it with an app that holds its output open and never closes it. The app's output is not attached to cua's pipes; for example, it goes to a file or to /dev/null, or the child is detached.

Activity

  1. added
    bug
    status:ready-for-implementer
    priority:P2
    on Nov 28, 2026
  2. added 6 commits that reference this issue on Nov 28, 2026
  3. removed
    status:ready-for-implementer
    on Nov 28, 2026
  4. SSFSKIM commented on Nov 28, 2026

    @SSFSKIM
    OwnerAuthor

    [board] done: Landed via PR #605 (cua 0.30.2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority:P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions