Skip to main content

Module ProcessCommand

Module ProcessCommand 

Source
Expand description

§ProcessCommand

Tauri commands for Wind’s ProcessPolyfill. These are invoked directly (not through MountainIPCInvoke) as separate Tauri commands: process:get_exec_path, process:get_platform, etc.

Functions§

process_get_arch
Get the CPU architecture.
process_get_exec_path
Get the executable path of the current process.
process_get_memory_info
Get process memory information. Returns private, shared, and residentSet memory in bytes.
process_get_pid
Get the process ID.
process_get_platform
Get the current platform identifier.
process_get_shell_env
Get the shell environment variables. Returns the full environment of the Mountain process, which inherits the user’s shell environment on all platforms.