Skip to main content

launch_from

Function launch_from 

Source
pub async fn launch_from(
    session: &VortexSession,
    args: impl IntoIterator<Item = impl Into<OsString> + Clone>,
) -> Result<()>
Expand description

Launch vx with explicit command-line arguments.

This is useful when embedding the TUI inside another process (e.g. Python) where std::env::args may not reflect the intended arguments.

ยงErrors

Raises any errors from subcommands.