Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
normalize working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcheng1982 committed May 15, 2024
1 parent 21f0ce0 commit 12d23ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ abstract class NonSandboxedCodeExecutor : CodeExecutor {
.withArgs(*args(input).toTypedArray())
.withWorkingDirectory(
(workingDirectory() ?: ".")
.run { Paths.get(this).toAbsolutePath() }
.run { Paths.get(this).toAbsolutePath().normalize() }
.toFile())
.ignoreExitStatus()
.run()
Expand Down

0 comments on commit 12d23ba

Please sign in to comment.