MCPcopy Create free account
hub / github.com/ariana-dot-dev/ariana / new_command

Function new_command

frontend/src-tauri/src/command_utils.rs:17–34  ·  view source on GitHub ↗

Creates a new Command with platform-specific configurations to prevent console windows from appearing on Windows. On Windows, this sets the CREATE_NO_WINDOW flag to prevent a terminal window from popping up when the process is spawned. # Example ``` use command_utils::new_command; let output = new_command("git") .arg("status") .output()?; ```

(program: impl AsRef<str>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 11

check_command_existsFunction · 0.85
extract_zip_to_directoryFunction · 0.85
create_zip_unixFunction · 0.85
find_remote_merge_baseFunction · 0.85
find_last_pushed_commitFunction · 0.85
get_github_remote_urlFunction · 0.85
establish_ssh_tunnelFunction · 0.85
open_path_in_explorerFunction · 0.85

Calls 1

newFunction · 0.85

Tested by

no test coverage detected