#Hello ๐Ÿ‘‹ how can I gather both the stdout and the stderr of a .WithExec() ?

1 messages ยท Page 1 of 1 (latest)

last mauve
#

Also is there a way to make stdout mute the errorexec showing up while using dagger run ?
for @wraith cargo

worn jay
#

i don't think so

#

i did suggest adding it here

#

but we could track with an issue, unless we already have one

last mauve
#

it's a module

#

with a function

#

called test

#

you can git clone https://github.com/jpadams/both; cd both; dagger call test

#

If you switch the last line, you can see the stdout and stderr one at a time.

wraith cargo
#

What is the difference between a client.Container() and a dag.Container() ?

last mauve
#

If you're using current Dagger, same API ๐Ÿ™‚

#

so same

wraith cargo
#

Should I migrate everything to dag rather than client?

#

I'm using the latest version of dagger, what is the best practice and/or nuances between those two ?

ivory totem