Execute a command in a sandbox via SSH.
(
server: &str,
name: &str,
command: &[String],
tty: bool,
tls: &TlsOptions,
)
| 567 | |
| 568 | /// Execute a command in a sandbox via SSH. |
| 569 | pub async fn sandbox_exec( |
| 570 | server: &str, |
| 571 | name: &str, |
| 572 | command: &[String], |
| 573 | tty: bool, |
| 574 | tls: &TlsOptions, |
| 575 | ) -> Result<()> { |
| 576 | sandbox_exec_with_mode(server, name, command, tty, tls, true).await |
| 577 | } |
| 578 | |
| 579 | pub(crate) async fn sandbox_exec_without_exec( |
| 580 | server: &str, |
no test coverage detected