diff --git a/CHANGELOG.md b/CHANGELOG.md index 912249d..c4af646 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] +### Performance +- Use `exec` in Unix bin linking to reduce the number of processes by @daimond113 + ## [0.5.0-rc.16] - 2024-12-08 ### Fixed - Do not require lib or bin exports if package exports scripts by @daimond113 diff --git a/src/cli/commands/install.rs b/src/cli/commands/install.rs index 7126171..dee73a0 100644 --- a/src/cli/commands/install.rs +++ b/src/cli/commands/install.rs @@ -257,7 +257,7 @@ impl InstallCommand { fs::write( &bin_exec_file, format!(r#"#!/bin/sh -lune run "$(dirname "$0")/.impl/{alias}.luau" -- "$@""# +exec lune run "$(dirname "$0")/.impl/{alias}.luau" -- "$@""# ), ) .await