nodejs from source

This commit is contained in:
Marc
2021-11-30 10:57:05 +01:00
parent 952edb4270
commit 3781c5108b
8 changed files with 62 additions and 23 deletions
+4 -4
View File
@@ -1,9 +1,9 @@
#include <unistd.h>
#define ERR 1
#define node "/bin/node"
#include <stdio.h>
//Chemin exacte de node (a changer aprés la creation d'un gestionnaire de packets)
#define node "/usr/local/bin/node"
#define chibrax "/chibrax/index.js"
int main() {
return execl(node, node, chibrax);
execl(node, node, chibrax);
}