diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2023-12-21 17:18:13 -0500 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2023-12-23 11:42:23 -0500 |
| commit | 28c1f86dcd059ff4ce8d14d9c9a00c9c35b1b6f0 (patch) | |
| tree | 30e7c2836526c4cba9761a964e15dc194c8f65c8 /editor/editor.cpp | |
| parent | bbd5fe6aedfd9288f3fd64754c700bfe9066b134 (diff) | |
execvp expects the program itself as the first argument
Diffstat (limited to 'editor/editor.cpp')
| -rw-r--r-- | editor/editor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor.cpp b/editor/editor.cpp index 7bb972c..f5e0d8d 100644 --- a/editor/editor.cpp +++ b/editor/editor.cpp @@ -103,6 +103,7 @@ void PkeEditor_Tick(double delta) { if (pid == 0) { int status = -1; const char *argv[] = { + "pke_runtime", "--plugin", pkeSettings.args.pluginPath == nullptr ? "example.o" : pkeSettings.args.pluginPath, "--project", pkeSettings.args.projectPath == nullptr ? PKE_PROJ_DEFAULT_FILENAME : pkeSettings.args.projectPath, "--scene", pkeSettings.rt.sceneName == nullptr ? PKE_PROJ_DEFAULT_FILENAME : pkeSettings.rt.sceneName, |
