11
This commit is contained in:
@@ -364,6 +364,11 @@ async fn run_script_bundle(
|
||||
for (key, value) in config_env {
|
||||
cmd.env(key, value);
|
||||
}
|
||||
if let Some(ffmpeg_path) = crate::ffmpeg::locate_ffmpeg() {
|
||||
if ffmpeg_path.exists() {
|
||||
cmd.env("AICLIENT_FFMPEG_PATH", ffmpeg_path);
|
||||
}
|
||||
}
|
||||
let mut child = cmd.spawn()?;
|
||||
|
||||
// 把 params JSON 灌进 stdin
|
||||
|
||||
Reference in New Issue
Block a user