progress
This commit is contained in:
parent
f11dfa7e57
commit
e85dc14fc8
5 changed files with 22 additions and 13 deletions
|
@ -16,7 +16,7 @@ export class ExecDatasetProcessScenario extends CallbackStrategyWithIdQuery {
|
|||
await DatasetDBModel.findById(id).updateOne({ processStatus: "RUN" });
|
||||
return new ExecProcessUseCase().call(
|
||||
`${model.project.rootDir}/`,
|
||||
`python3 $PYTHON_BLENDER_PROC --path '${model.project.rootDir}/${model.name}/'`,
|
||||
`blenderproc run $PYTHON_BLENDER_PROC --cfg '${JSON.stringify(model)}'`,
|
||||
id,
|
||||
new ProcessWatcherAndDatabaseUpdateService(id as unknown as ObjectId)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue