Skip to content

Commit 0babfd0

Browse files
timviseeSebastian Thiel
authored and
Sebastian Thiel
committed
Use wslview on WSL, try it as last binary
1 parent 0a43537 commit 0babfd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ use std::process::ExitStatus;
5151
pub fn that<T: AsRef<OsStr> + Sized>(path: T) -> io::Result<ExitStatus> {
5252
let path_ref = path.as_ref();
5353
let mut last_err: io::Error = io::Error::from_raw_os_error(0);
54-
for program in &["wslopen", "xdg-open", "gnome-open", "kde-open"] {
54+
for program in &["xdg-open", "gnome-open", "kde-open", "wslview"] {
5555
match Command::new(program)
5656
.stdout(Stdio::null())
5757
.stderr(Stdio::null())

0 commit comments

Comments
 (0)