Skip to content

Terminal confirmOnExit should only warn when the terminal shell is running something #23808

Closed
@Tyriar

Description

@Tyriar

We could check if the shell process from node-pty has any child processes using something like pgrep -P <pid>. If we do this confirmOnExit=true may be better off as the default.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersterminalGeneral terminal issues that don't fall under another labelverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions