Hi,
Is there an idiomatic way in Dagger to get the exit code from a WithExec operation? In my case I have a binary that returns a non-zero exit code, e.g.
ctr, err := cli.Container().From(image).WithExec([]string{"mybinary", "--exit-code"}).Sync(ctx)
I was trying to cast the err into a dagger.ExecError to inspect for the exit code but apparently err is nil.