Skip to content

rootscript/Tasks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tasks

Build Status Latest Release Platforms Package Managers

Run shell scripts from your Swift code. Linux & OS X ready.

Usage

do {
	let result = try Task.run("echo", "unicorns")
	print(result.code) //0
	print(result.stdout) //"unicorns"
	print(result.stderr) //""
} catch {
	print("Unexpected task error: \(error)")
}

Installation

Swift Package Manager

.Package(url: "https://github.com/czechboy0/Tasks.git", majorVersion: 0, minor: 4)

💙 Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

💝 Contributing

Please create an issue with a description of your problem or open a pull request with a fix.

✌️ License

MIT

👽 Author

Honza Dvorsky - http://honzadvorsky.com, @czechboy0

About

Run shell scripts from your Swift code. Linux & OS X ready.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 100.0%