sandbox icon indicating copy to clipboard operation
sandbox copied to clipboard

Command `goal wallet new $NAME` fails with `inappropriate ioctl` error

Open barnjamin opened this issue 2 years ago • 1 comments

Subject of the issue

When trying to create a new wallet through the sandbox, a prompt is displayed for the user to enter a password.

Because we dispatch the call with dc exec -T ..., no TTY is made available so an error occurs: inappropriate ioctl for device

Simply removing the -T flag from the dc subroutine allows it to work as expected but I'm sure causes issues elsewhere.

I think we'll need to figure out which goal commands require a TTY and when we see one, use the dc_pty subroutine

Docker 20.10.17

barnjamin avatar Aug 31 '22 15:08 barnjamin

is there another way how to fix this issue?

Jayke770 avatar Nov 27 '22 11:11 Jayke770