Skip to content

Commit e5363ca

Browse files
committed
Fix zed cli failing if the initialization script prints on wsl
1 parent b481fcf commit e5363ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/cli/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ fn parse_path_in_wsl(source: &str, wsl: &str) -> Result<String> {
174174
let output = command
175175
.arg("--distribution")
176176
.arg(distro_name)
177+
.args("--exec")
177178
.arg("wslpath")
178179
.arg("-m")
179180
.arg(&source.path)

0 commit comments

Comments
 (0)