input: Remove private env vars on spawn

This commit is contained in:
Victoria Brekenfeld 2022-07-12 19:17:47 +02:00
parent 7c62563dd2
commit e9813b6a5d

View file

@ -379,6 +379,7 @@ impl State {
.arg("-c")
.arg(command)
.env("WAYLAND_DISPLAY", &self.common.socket)
.env_remove("COSMIC_SESSION_SOCK")
.spawn()
{
slog_scope::warn!("Failed to spawn: {}", err);