Is thera an example of how to add support for pipes?
In general you do not need to add explicit support for pipes. Rather, if you read from
stdinand write to
stdout, pipes just work. Most folks doing that using either:
Low-level BSD routines (
Standard library routines (
All of these can be called from Swift, but the last is probably the easiest to use.
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"