mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-22 02:48:48 +08:00
✨ add subprocess.fork/kill
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ var dlopen = func(libname) {
|
||||
if (io.exists(libname))
|
||||
return __dlopen(libname);
|
||||
# find dynamic lib through PATH
|
||||
var envpath = split(os.platform()=="windows"? ";":":",unix.getenv("PATH"));
|
||||
var envpath = split(os.platform()=="windows"? ";":":", unix.getenv("PATH"));
|
||||
# first find ./module
|
||||
append(envpath, ".");
|
||||
var path = os.platform()=="windows"? "\\module\\":"/module/";
|
||||
|
||||
Reference in New Issue
Block a user