mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-05-02 19:00:47 +08:00
✨ add native functions of subprocess
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
var run = func() {
|
||||
return __subprocess_run();
|
||||
var popen = func(cmd) {
|
||||
return __subprocess_popen(cmd);
|
||||
}
|
||||
|
||||
var pclose = func(subproc) {
|
||||
return __subprocess_pclose(subproc);
|
||||
}
|
||||
|
||||
var read = func(subproc) {
|
||||
return __subprocess_read_stdout(subproc);
|
||||
}
|
||||
Reference in New Issue
Block a user