Skip to content

Commit

Permalink
Use wslview on WSL, try it as last binary
Browse files Browse the repository at this point in the history
  • Loading branch information
timvisee authored and Sebastian Thiel committed Jul 28, 2019
1 parent 0a43537 commit 0babfd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ use std::process::ExitStatus;
pub fn that<T: AsRef<OsStr> + Sized>(path: T) -> io::Result<ExitStatus> {
let path_ref = path.as_ref();
let mut last_err: io::Error = io::Error::from_raw_os_error(0);
for program in &["wslopen", "xdg-open", "gnome-open", "kde-open"] {
for program in &["xdg-open", "gnome-open", "kde-open", "wslview"] {
match Command::new(program)
.stdout(Stdio::null())
.stderr(Stdio::null())
Expand Down

0 comments on commit 0babfd0

Please sign in to comment.