pub async fn wrap_command(
command: &str,
config: &SandboxRuntimeConfig,
platform: Platform,
http_proxy_port: Option<u16>,
socks_proxy_port: Option<u16>,
http_socket_path: Option<&str>,
socks_socket_path: Option<&str>,
shell: Option<&str>,
enable_log_monitor: bool,
) -> Result<WrapResult, SandboxError>Expand description
Wrap a command with platform-specific sandboxing.