refactor core_process (1)

This commit is contained in:
arm64v8a
2022-09-11 11:38:48 +08:00
parent dbbd54077b
commit 06b0163319
7 changed files with 120 additions and 103 deletions

View File

@@ -399,8 +399,11 @@ namespace NekoRay {
outbound["settings"] = settings;
// EXTERNAL PROCESS
auto extC = new sys::ExternalProcess(ent->bean->DisplayType(),
extR.program, extR.arguments, extR.env);
auto extC = new sys::ExternalProcess();
extC->tag = ent->bean->DisplayType();
extC->program = extR.program;
extC->arguments = extR.arguments;
extC->env = extR.env;
status->result->ext += extC;
} else {
coreR = ent->bean->BuildCoreObj();