Skip to content

wt command should by default background itself (detach) when opening a new window #4645

@sgsthor

Description

@sgsthor

wt command should by default background itself (detach) when opening a new window

When the user types into a window "wt -- ssh user@host" it will open up a new window. In the current implementation, it will also leave the original window blocked until the child window is closed.

Proposed technical implementation details (optional)

A default action of backgrounding (or simply forking and exiting the parent process) would leave the parent shell available for use. Not backgrounding/forking blocks the shell and is (unless you are waiting for the exit code of the child) both an abuse of resources and clutter/messy.

IFF the user explicitly wants to wait for the exit code, there should be a command-line switch for enabling that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Needs-Tag-FixDoesn't match tag requirementsNeeds-TriageIt's a new issue that the core contributor team needs to triage at the next triage meetingResolution-ExternalFor issues that are outside this codebaseResolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions