input: Remove private env vars on spawn
This commit is contained in:
parent
7c62563dd2
commit
e9813b6a5d
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue