Mountain/Binary/IPC/ProcessCommand.rs
1#![allow(non_snake_case)]
2
3//! # ProcessCommand - Wind ProcessPolyfill bridge
4//!
5//! Tauri commands invoked directly (not through `MountainIPCInvoke`)
6//! by Wind's `ProcessPolyfill`. Each command file holds exactly one
7//! `#[tauri::command]` whose function name IS the wire identifier
8//! (Naming-Convention exception); the snake_case names are required
9//! to mirror Node's `process.*` so renderer code that imports
10//! `process` keeps working unchanged.
11//!
12//! Layout (one Tauri command per file):
13//! - `process_get_exec_path::process_get_exec_path` - current executable path.
14//! - `process_get_platform::process_get_platform` - `darwin` / `win32` /
15//! `linux`.
16//! - `process_get_arch::process_get_arch` - CPU architecture.
17//! - `process_get_pid::process_get_pid` - running PID.
18//! - `process_get_shell_env::process_get_shell_env` - full environment map.
19//! - `process_get_memory_info::process_get_memory_info` - per-platform `{
20//! private, shared, residentSet }` triple.
21
22pub mod process_get_arch;
23pub mod process_get_exec_path;
24pub mod process_get_memory_info;
25pub mod process_get_pid;
26pub mod process_get_platform;
27pub mod process_get_shell_env;