MCPcopy Create free account
hub / github.com/christophhart/HISE / runProcess

Method runProcess

hi_scripting/scripting/api/ScriptingApiObjects.cpp:7076–7088  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7074}
7075
7076void ScriptingObjects::ScriptBackgroundTask::runProcess(var command, var args, var logFunction)
7077{
7078 if (HiseJavascriptEngine::isJavascriptFunction(logFunction))
7079 {
7080 callFinishCallback(false, false);
7081 stopThread(timeOut);
7082
7083 currentTask.clear();
7084 childProcessData = new ChildProcessData(*this, command.toString(), args, logFunction);
7085
7086 startThread(8);
7087 }
7088}
7089
7090void ScriptingObjects::ScriptBackgroundTask::setProgress(double p)
7091{

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected