From cd08d8490bde91c36a6c7a60a27bed0bd0e2e033 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Mon, 13 Jan 2025 10:10:38 -0500 Subject: editor: launch scene call renamed pke-runtime --- editor/editor.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'editor') diff --git a/editor/editor.cpp b/editor/editor.cpp index 8a2390b..af45fda 100644 --- a/editor/editor.cpp +++ b/editor/editor.cpp @@ -95,22 +95,22 @@ void PkeEditor_Tick(double delta) { if (subProgramPid == 0) { int status = -1; const char *argv[] = { - "pke_runtime", - "--plugin", pkeSettings.args.pluginPath == nullptr ? "example.o" : pkeSettings.args.pluginPath, + "pke-runtime", + "--plugin", pkeSettings.args.pluginPath == nullptr ? "libpke-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, NULL, }; - status = execvp("pke_runtime", const_cast(argv)); - fprintf(stderr, "pke_runtime (child) exited with a status of %i\n", status); + status = execvp("pke-runtime", const_cast(argv)); + fprintf(stderr, "pke-runtime (child) exited with a status of %i\n", status); subProgramPid = -1; } else if (subProgramPid == -1) { - fprintf(stdout, "pke_runtime failed to fork\n"); + fprintf(stdout, "pke-runtime failed to fork\n"); subProgramPid = -1; } else { int status = 0xCAFEBABE; waitpid(subProgramPid, &status, 0); - fprintf(stdout, "pke_runtime (parent) exited with a status of %i (0x%08X)\n", status, status); + fprintf(stdout, "pke-runtime (parent) exited with a status of %i (0x%08X)\n", status, status); subProgramPid = -1; } }); -- cgit v1.2.3