aboutsummaryrefslogtreecommitdiff
path: root/environment.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-02-25 00:59:31 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-02-25 00:59:31 -0500
commit9a62f8d6a6f8148deaea89e73d866439b588babb (patch)
tree3984626fc4b246a6677939c228527bc285f0e6f6 /environment.c
parent928f3250b3914c88d105d8cf297c6b27a96ed5ad (diff)
Add $Shell.execute()
Diffstat (limited to 'environment.c')
-rw-r--r--environment.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/environment.c b/environment.c
index b785a8e3..2e1c4add 100644
--- a/environment.c
+++ b/environment.c
@@ -380,8 +380,8 @@ env_t *new_compilation_unit(CORD libname)
{"escape_int", "Int$value_as_text", "func(i:Int -> Shell)"},
{"escape_text", "Shell$escape_text", "func(text:Text -> Shell)"},
{"escape_text_array", "Shell$escape_text_array", "func(texts:[Text] -> Shell)"},
- {"execute", "Shell$execute", "func(command:Shell -> Int32)"},
- {"run_bytes", "Shell$run", "func(command:Shell -> [Byte]?)"},
+ {"execute", "Shell$execute", "func(command:Shell -> Int32?)"},
+ {"run_bytes", "Shell$run_bytes", "func(command:Shell -> [Byte]?)"},
{"run", "Shell$run", "func(command:Shell -> Text?)"},
)},
{"Text", TEXT_TYPE, "Text_t", "Text$info", TypedArray(ns_entry_t,