Skip to content

Commit

Permalink
Enable compilation on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol committed Apr 19, 2024
1 parent 4c7acd3 commit ac6dd88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/tako/src/launcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ pub fn command_from_definitions(definition: &ProgramDefinition) -> crate::Result

let mut command = Command::new(definition.args[0].to_os_str_lossy());

#[cfg(target_os = "linux")]
unsafe {
command.pre_exec(|| {
// We need to create a new process group for the task, so that we can
Expand Down

0 comments on commit ac6dd88

Please sign in to comment.