#Set Environment Variable for Sidecar
2 messages · Page 1 of 1 (latest)
In rust you can use this https://docs.rs/tauri/latest/tauri/api/process/struct.Command.html#method.envs
In js this https://tauri.app/v1/api/js/shell#env (example: Command.sidecar('whatever', [], { env: { "key": "var" } })