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("-c")
|
||||||
.arg(command)
|
.arg(command)
|
||||||
.env("WAYLAND_DISPLAY", &self.common.socket)
|
.env("WAYLAND_DISPLAY", &self.common.socket)
|
||||||
|
.env_remove("COSMIC_SESSION_SOCK")
|
||||||
.spawn()
|
.spawn()
|
||||||
{
|
{
|
||||||
slog_scope::warn!("Failed to spawn: {}", err);
|
slog_scope::warn!("Failed to spawn: {}", err);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue