Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions crates/fbuild-python/src/daemon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ impl Daemon {
// (FastLED/fbuild#275) so a venv install never gets shadowed by a
// stale user-level daemon on PATH.
let mut cmd = match daemon_spawn_target() {
// allow-direct-spawn: daemon must outlive the Python interpreter.
Some(path) => std::process::Command::new(path),
// allow-direct-spawn: daemon must outlive the Python interpreter.
None => std::process::Command::new(DAEMON_BIN_NAME),
};
if fbuild_paths::is_dev_mode() {
Expand Down Expand Up @@ -244,7 +246,9 @@ impl AsyncDaemon {
// from inside this async block.
// allow-direct-spawn: daemon must outlive the Python interpreter.
let mut cmd = match spawn_target {
// allow-direct-spawn: daemon must outlive the Python interpreter.
Some(path) => std::process::Command::new(path),
// allow-direct-spawn: daemon must outlive the Python interpreter.
None => std::process::Command::new(DAEMON_BIN_NAME),
};
if dev_mode {
Expand Down
Loading