Skip to content

remsh stoping the main vm when closing stdin. #9852

@raz-adroll

Description

@raz-adroll

Describe the bug
Remsh is terminating the remote process when it isn't supposed to.

To Reproduce

Terminal 1

erl -sname node1

Terminal 2

erl -sname node2 -remsh node1 < /dev/null

The process in terminal 2 keeps open and the one in terminal 1 stops.

Expected behavior
The process in terminal 1 should not terminate and the terminal 2 process should terminate.

Affected versions
OTP 26+

Additional context
Tested on 25.2.1 (works as expected), 26.2.5.12 (doesn't work) and 27.3.4 (doesn't work)

Metadata

Metadata

Assignees

Labels

bugIssue is reported as a bugteam:VMAssigned to OTP team VM

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions