SpawnOptions.environment
Variables added to the program's environment. They reach tmux as command arguments, which ps on this machine shows while the command runs; pass a secret through input instead. tmux replaces a PATH passed that way with its client's, so the wrapper sets this one itself before finding argv[0].
Source and package
- Qualified name
-
SpawnOptions .environment - Module
- types
- Declared in
- SpawnOptions
- Package
- libtmux
- Source
- packages/libtmux/src/types.ts