From 9a62f8d6a6f8148deaea89e73d866439b588babb Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 25 Feb 2025 00:59:31 -0500 Subject: Add $Shell.execute() --- environment.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'environment.c') 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, -- cgit v1.2.3