Function lal::shell
[−]
[src]
pub fn shell(
cfg: &Config,
container: &Container,
modes: &ShellModes,
cmd: Option<Vec<&str>>,
privileged: bool
) -> LalResult<()>
Mounts and enters .
in an interactive bash shell using the configured container.
If a command vector is given, this is called non-interactively instead of /bin/bash
You can thus do lal shell ./BUILD target
or `lal shell bash -c "cmd1; cmd2"