vv-agent 0.6.2

VectorVein agent runtime, SDK, CLI, tools, and workspace backends
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod discovery;
mod priority;
mod programs;
mod resolve;
#[cfg(test)]
mod tests;

use discovery::RealWindowsShellDiscovery;
use resolve::resolve_windows_shell_with_discovery;

use super::ShellInvocation;

pub(super) fn resolve_windows_shell(
    shell: Option<&str>,
    windows_shell_priority: Option<&[String]>,
) -> Result<ShellInvocation, String> {
    resolve_windows_shell_with_discovery(shell, windows_shell_priority, &RealWindowsShellDiscovery)
}