execShell method

Future<DockerProcess?> execShell(
  1. String script, {
  2. bool sudo = false,
})

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);