Skip to content

Commit

Permalink
fix unix build
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed May 8, 2024
1 parent 72569e7 commit be2da3a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/tauri/src/endpoints/shell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ impl Cmd {
),
};

#[cfg(unix)]
use std::os::unix::process::ExitStatusExt;

Ok(ChildProcessReturn {
code: output.status.code(),
#[cfg(windows)]
Expand Down

0 comments on commit be2da3a

Please sign in to comment.