Skip to content

Commit

Permalink
Clear host env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
syldium committed Nov 30, 2023
1 parent 3da5d10 commit 384b1ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/src/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ pub(crate) async fn runner(code: String) -> impl Stream<Item = Option<String>> {
"/bin/env",
"moshell",
])
.env_clear()
.env("CLICOLOR_FORCE", "1")
.stdin(Stdio::piped())
.stdout(Stdio::piped())
Expand Down

0 comments on commit 384b1ed

Please sign in to comment.