ShellOut

Easily run shell commands from a Swift script or command line tool

MIT License

Stars
874
Committers
12

Bot releases are hidden (Show)

ShellOut - ShellOut 2.3.0 Latest Release

Published by JohnSundell almost 5 years ago

This release enables a custom Process instance to be injected when calling shellOut.

ShellOut - ShellOut 2.2.1

Published by JohnSundell almost 5 years ago

  • A race condition that could occur when capturing output data is now being avoided (by @helje5)
  • ShellOut no longer closes standard file handles (like stdin and stderr) when finishing (by @SteveBarnegren)
ShellOut - ShellOut 2.2.0

Published by JohnSundell almost 6 years ago

This version migrates ShellOut to Swift 4.2

ShellOut - ShellOut 2.1.0

Published by JohnSundell almost 7 years ago

ShellOut is now thread safe thanks to @harlanhaskins 🎉

ShellOut - ShellOut 2.0.0

Published by JohnSundell almost 7 years ago

  • ShellOut now uses Swift 4.
  • copyFile and removeFile has been added to the convenience API.
  • You can now use paths containing a tilde to refer to the home folder.
  • More user friendly descriptions of errors.
ShellOut - ShellOut 1.2.1

Published by JohnSundell about 7 years ago

This release fixes build errors on Linux, since attaching handlers to FileHandles is not yet supported in the Swift standard library on that platform.

ShellOut - ShellOut 1.2.0

Published by JohnSundell about 7 years ago

  • You can now capture the output of STDOUT and STDERR by injecting your own custom FileHandles.
  • ShellOut now supports pre-defined commands (using ShellOutCommand), and ships with a suite of commands for common tasks.
ShellOut - ShellOut 1.1.0

Published by JohnSundell over 7 years ago

New features

  • Run a series of commands at once
  • Run either a single command or a series of commands at a given path

See updated README for usage examples of the above

Fixes

  • Documentation fixes (thanks @pixyzehn!)
ShellOut - ShellOut 1.0.0

Published by JohnSundell over 7 years ago

Initial release of ShellOut 🎉