| Crates.io | printenv2 |
| lib.rs | printenv2 |
| version | 0.1.3 |
| created_at | 2022-05-03 22:52:11.718775+00 |
| updated_at | 2024-01-24 14:52:57.097132+00 |
| description | A printenv rewrite in Rust |
| homepage | |
| repository | https://github.com/Xinkai/printenv2/ |
| max_upload_size | |
| id | 580054 |
| size | 65,875 |
A printenv rewrite in Rust.
paru -S printenv2cargo install printenv2 if you already have Rust development environment setup.printenv2 can read environment variables of another running process.
Basic usage:
# Make sure you have the privilege to inspect the target process.
printenv2 --pid 1000
Platform-specifics:
| Platform | Environment variables at startup | Environment variables in present |
|---|---|---|
| Linux | printenv2 --pid <PID> |
Unsafe1.printenv2 --debugger-helper generates a shell script for that using gdb.sh <(printenv2 --debugger-helper=gdb) <PID> | printenv2 --load -.sudo is likely required. |
| Windows | Unsupported. | Unsafe1.printenv2 --pid <PID> |
| Unix (*BSD) | printenv2 --pid <PID> |
Unsafe1.printenv2 --debugger-helper generates a shell script for that using gdb.sh <(printenv2 --debugger-helper=gdb) <PID> | printenv2 --load -.sudo is likely required. |
| macOS | printenv2 --pid <PID> |
Unsupported. |
| Other | Unsupported. | Unsupported. |
MIT