#Error using "terminal --cmd=bash" with "dagger call build-env"

1 messages · Page 1 of 1 (latest)

marsh glacier
#

Hi everyone! I'm new in Dagger. I'm following the steps on this page: https://docs.dagger.io/quickstart/env/
When I use the command "dagger call build-env --source=.", Dagger works correctly. But when I add "terminal --cmd=bash" to the command, I get this error:
Error: response from query: input: container.from.withDirectory.withMountedCache.withWorkdir.withExec.terminal resolve: failed to forward exit code: failed to close terminal: EOF
The full console output can be seen in the image.

Create the build environment

coarse nymph
glad rivet
coarse nymph
coarse nymph
#

@marsh glacier thanks for the bug report I am able to reproduce this on windows,

I tried this in Powershell, Windows Terminal, CMD.EXE, built-in terminal in VS Code, and even MiniGW that comes with git bash, I get the same error.

It looks like this issue was reported last week (Thanks @marble dragon!)

https://github.com/dagger/dagger/issues/9096

the only place I am able to get the terminal to work is in WSL - do you happen to use WSL at all? That should at least help you keep moving through the quickstart while we look into getting this fixed.

GitHub

What is the issue? It's been a long while since I have used the terminal feature, but I know it did work for sure around the v0.10. There's a chance a bug was introduced a while back and I ...