Skip to main content

Mountain/Binary/IPC/
ProcessCommand.rs

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