Submit an issue View all issues Source
MIR-714

miren app run should work without a TTY

Done Improvement public
phinze phinze Opened Feb 16, 2026 Updated Feb 26, 2026

Running miren app run -a <app> -- <command> over a non-interactive SSH session panics:

panic: provided file is not a console

goroutine 1 [running]:
github.com/containerd/console.Current()
  console.go:80
miren.dev/runtime/cli/commands.AppRun(...)
  app_run.go:34

It would be useful if app run detected the absence of a TTY and ran the command non-interactively (piping stdin/stdout), similar to how docker exec works with and without -it. This would enable scripted debugging and CI use cases.