When I execute this in the playground
query {
container {
from(address: "alpine") {
withExec(args: ["apk", "add", "curl"]) {
withExec(args: ["/bin/ash","-c", "cul https://dagger.io/"]) {
stdout
stderr
exitCode
}
}
}
}
}
I expect to have something like this
{
"data": {
"container": {
"from": {
"withExec": {
"withExec": {
"exitCode": 1,
"stderr": "ash: cul: not found",
"stdout": ""
}
}
}
}
},
}
But instead I get this
{
"data": {
"container": {
"from": {
"withExec": {
"withExec": {
"exitCode": null,
"stderr": null,
"stdout": null
}
}
}
}
},
Which is not useful because I don't know why it failed.
Notice that I have use
withExec(args: ["/bin/ash","-c", "cul https://dagger.io/"])
But also it expect it to work with
withExec(args: ["cul","https://dagger.io/"])
with a response
"withExec": {
"exitCode": 1,
"stderr": "/bin/sh: cul: not found",
"stdout": ""
}
PD: removed some lines because discord didn't allow me