From 5c6d85025cbffa0181157fef8932dbb41535e8e3 Mon Sep 17 00:00:00 2001 From: gothosting Date: Thu, 19 Sep 2019 21:10:34 +0100 Subject: [PATCH] Missed "/" from line 47 for genieacs-ext path I omitted the "/" on the initial commit for the SPAWN error on extensions --- lib/extensions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/extensions.ts b/lib/extensions.ts index c7b7fd1..0f3ec03 100644 --- a/lib/extensions.ts +++ b/lib/extensions.ts @@ -44,7 +44,7 @@ export function run(args): Promise<{ fault: Fault; value: any }> { jobs.set(id, resolve); if (!processes[scriptName]) { - const p = spawn(ROOT_DIR + "bin/genieacs-ext", [scriptName], { + const p = spawn(ROOT_DIR + "/bin/genieacs-ext", [scriptName], { stdio: ["inherit", "inherit", "inherit", "ipc"] }); processes[scriptName] = p;