nodejs from source

This commit is contained in:
Marc committed 2021-11-30 10:57:05 +01:00
1 parent 952edb4270
commit 3781c5108b
8 files changed
+62 -23

No files matched your search

+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);
}