gw.Exec should invoke a command similarily to the frontend.Exec does atm. The main difference from Solve is that Exec is never cached. Should be able to take the same arguments that llb.Exec takes (including the special mounts). More complex cases for things like ReadFile could be implemented with Exec.
The mounts of Exec should take References from completed sources as inputs.
gw.Execshould invoke a command similarily to thefrontend.Execdoes atm. The main difference fromSolveis thatExecis never cached. Should be able to take the same arguments thatllb.Exectakes (including the special mounts). More complex cases for things likeReadFilecould be implemented withExec.The mounts of
Execshould takeReferencesfrom completed sources as inputs.