diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-30 15:41:37 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-30 15:41:37 -0400 |
| commit | 38d6189d4335bbcdc38f0c31cf769082b96f22fa (patch) | |
| tree | 430c133eafe0284d0bc10e7571b42bbf02b34aca /examples/commands | |
| parent | 494e4ef006cd66ee1d91ea23de9da085bec1e8db (diff) | |
Further support for .dylib files on mac by changing syntax for library
imports to `use -lfoo` instead of `use foo.so`
Diffstat (limited to 'examples/commands')
| -rw-r--r-- | examples/commands/commands.tm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/commands/commands.tm b/examples/commands/commands.tm index be18b776..70a2303b 100644 --- a/examples/commands/commands.tm +++ b/examples/commands/commands.tm @@ -1,7 +1,7 @@ # Functions for running system commands use ./commands.c -use libunistring.so +use -lunistring extern run_command:func(exe:Text, args:[Text], env:{Text,Text}, input:[Byte]?, output:&[Byte]?, error:&[Byte]? -> Int32) extern command_by_line:func(exe:Text, args:[Text], env:{Text,Text} -> func(->Text?)?) |
