[Command] enables parallel command execution by default

This commit is contained in:
Carter Li
2025-11-11 09:28:44 +08:00
parent 298c0431c3
commit cb0a88df22
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -45,8 +45,8 @@ const char* ffDetectCommand(FFCommandOptions* options, FFstrbuf* result)
FFCommandResultBundle bundle = {};
if (!options->parallel)
bundle.error = spawnProcess(options, &bundle.handle);
else
ffListShift(&commandQueue, &bundle);
else if (!ffListShift(&commandQueue, &bundle))
return "[BUG] command queue is empty";
if (bundle.error)
return bundle.error;