-
Notifications
You must be signed in to change notification settings - Fork 205
Open
Description
diff --git a/nativelink-worker/src/running_actions_manager.rs b/nativelink-worker/src/running_actions_manager.rs
index df312e01..b0c20917 100644
--- a/nativelink-worker/src/running_actions_manager.rs
+++ b/nativelink-worker/src/running_actions_manager.rs
@@ -909,7 +909,10 @@ impl RunningActionImpl {
// De-bloat the `debug` level by using the `trace`
// level more effectively and adjust this.
info!(?args, "Executing command",);
- let mut command_builder = process::Command::new(args[0]);
+ let mut program = PathBuf::from(&self.work_directory);
+ program.push(&command_proto.working_directory);
+ program.push(&command_proto.arguments[0]);
+ let mut command_builder = process::Command::new(program);
command_builder
.args(&args[1..])
.kill_on_drop(true)Metadata
Metadata
Assignees
Labels
No labels