Skip to content

Windows 10/11: read -p does not work as expected #1370

@TinCanTech

Description

@TinCanTech

#shellcheck disable=SC2162
read -p "Press Enter or CTRL-C to exit."
exit 1

man sh: read [-p prompt] [-r] variable [...]

Windows error:

EasyRSA Shell
# sh.exe: read: -p: no coprocess

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions