SwiftShell is a library for creating command-line applications and running shell commands in Swift.

Features:

  •  run commands, and handle the output.
  •  run commands asynchronously, and be notified when output is available.
  •  access the context your application is running in, like environment variables, standard input, standard output, standard error, the current directory and the command line arguments.
  •  create new such contexts you can run commands in.
  •  handle errors.
  •  read and write files.

Leave a Reply