execShell method
Executes a shell script
. Tries to use bash
or sh
.
Note that script
should be inline, without line breaks (\n
).
Implementation
Future<DockerProcess?> execShell(String script, {bool sudo = false}) async =>
DockerCMD.execShell(runner.dockerHost, name, script, sudo: sudo);