MCPcopy Create free account
hub / github.com/DISTRHO/DPF / start

Method start

distrho/extra/ExternalWindow.hpp:471–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

469 }
470
471 bool start(const char* args[])
472 {
473 terminateAndWait();
474
475 pid = vfork();
476
477 switch (pid)
478 {
479 case 0:
480 execvp(args[0], (char**)args);
481 _exit(1);
482 return false;
483
484 case -1:
485 d_stderr("Could not start external ui");
486 return false;
487
488 default:
489 return true;
490 }
491 }
492
493 void terminateAndWait()
494 {

Callers 2

WebViewImpl.cppFile · 0.80
ExternalWindow.hppFile · 0.80

Calls 1

d_stderrFunction · 0.85

Tested by

no test coverage detected