├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ └── swift.yml ├── .gitignore ├── .spi.yml ├── .swift-format ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── Package.swift ├── Package@swift-6.0.swift ├── Proposal.md ├── README.md ├── Sources ├── Subprocess │ ├── API.swift │ ├── AsyncBufferSequence.swift │ ├── Buffer.swift │ ├── Configuration.swift │ ├── Error.swift │ ├── Execution.swift │ ├── IO │ │ ├── Input.swift │ │ └── Output.swift │ ├── Platforms │ │ ├── Subprocess+Darwin.swift │ │ ├── Subprocess+Linux.swift │ │ ├── Subprocess+Unix.swift │ │ └── Subprocess+Windows.swift │ ├── Result.swift │ ├── Span+Subprocess.swift │ ├── SubprocessFoundation │ │ ├── Input+Foundation.swift │ │ ├── Output+Foundation.swift │ │ └── Span+SubprocessFoundation.swift │ └── Teardown.swift └── _SubprocessCShims │ ├── include │ ├── process_shims.h │ └── target_conditionals.h │ └── process_shims.c └── Tests ├── SubprocessTests ├── SubprocessTests+Darwin.swift ├── SubprocessTests+Linting.swift ├── SubprocessTests+Linux.swift ├── SubprocessTests+Unix.swift ├── SubprocessTests+Windows.swift └── TestSupport.swift └── TestResources ├── Resources ├── TheMysteriousIsland.txt ├── getgroups.swift └── windows-tester.ps1 └── TestResources.swift /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/swift.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/.github/workflows/swift.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/.gitignore -------------------------------------------------------------------------------- /.spi.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/.spi.yml -------------------------------------------------------------------------------- /.swift-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/.swift-format -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/CODEOWNERS -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Package.swift -------------------------------------------------------------------------------- /Package@swift-6.0.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Package@swift-6.0.swift -------------------------------------------------------------------------------- /Proposal.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Proposal.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/README.md -------------------------------------------------------------------------------- /Sources/Subprocess/API.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Sources/Subprocess/API.swift -------------------------------------------------------------------------------- /Sources/Subprocess/AsyncBufferSequence.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Sources/Subprocess/AsyncBufferSequence.swift -------------------------------------------------------------------------------- /Sources/Subprocess/Buffer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Sources/Subprocess/Buffer.swift -------------------------------------------------------------------------------- /Sources/Subprocess/Configuration.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Sources/Subprocess/Configuration.swift -------------------------------------------------------------------------------- /Sources/Subprocess/Error.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Sources/Subprocess/Error.swift -------------------------------------------------------------------------------- /Sources/Subprocess/Execution.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Sources/Subprocess/Execution.swift -------------------------------------------------------------------------------- /Sources/Subprocess/IO/Input.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Sources/Subprocess/IO/Input.swift -------------------------------------------------------------------------------- /Sources/Subprocess/IO/Output.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Sources/Subprocess/IO/Output.swift -------------------------------------------------------------------------------- /Sources/Subprocess/Platforms/Subprocess+Darwin.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Sources/Subprocess/Platforms/Subprocess+Darwin.swift -------------------------------------------------------------------------------- /Sources/Subprocess/Platforms/Subprocess+Linux.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Sources/Subprocess/Platforms/Subprocess+Linux.swift -------------------------------------------------------------------------------- /Sources/Subprocess/Platforms/Subprocess+Unix.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Sources/Subprocess/Platforms/Subprocess+Unix.swift -------------------------------------------------------------------------------- /Sources/Subprocess/Platforms/Subprocess+Windows.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Sources/Subprocess/Platforms/Subprocess+Windows.swift -------------------------------------------------------------------------------- /Sources/Subprocess/Result.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Sources/Subprocess/Result.swift -------------------------------------------------------------------------------- /Sources/Subprocess/Span+Subprocess.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Sources/Subprocess/Span+Subprocess.swift -------------------------------------------------------------------------------- /Sources/Subprocess/SubprocessFoundation/Input+Foundation.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Sources/Subprocess/SubprocessFoundation/Input+Foundation.swift -------------------------------------------------------------------------------- /Sources/Subprocess/SubprocessFoundation/Output+Foundation.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Sources/Subprocess/SubprocessFoundation/Output+Foundation.swift -------------------------------------------------------------------------------- /Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift -------------------------------------------------------------------------------- /Sources/Subprocess/Teardown.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Sources/Subprocess/Teardown.swift -------------------------------------------------------------------------------- /Sources/_SubprocessCShims/include/process_shims.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Sources/_SubprocessCShims/include/process_shims.h -------------------------------------------------------------------------------- /Sources/_SubprocessCShims/include/target_conditionals.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Sources/_SubprocessCShims/include/target_conditionals.h -------------------------------------------------------------------------------- /Sources/_SubprocessCShims/process_shims.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Sources/_SubprocessCShims/process_shims.c -------------------------------------------------------------------------------- /Tests/SubprocessTests/SubprocessTests+Darwin.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Tests/SubprocessTests/SubprocessTests+Darwin.swift -------------------------------------------------------------------------------- /Tests/SubprocessTests/SubprocessTests+Linting.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Tests/SubprocessTests/SubprocessTests+Linting.swift -------------------------------------------------------------------------------- /Tests/SubprocessTests/SubprocessTests+Linux.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Tests/SubprocessTests/SubprocessTests+Linux.swift -------------------------------------------------------------------------------- /Tests/SubprocessTests/SubprocessTests+Unix.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Tests/SubprocessTests/SubprocessTests+Unix.swift -------------------------------------------------------------------------------- /Tests/SubprocessTests/SubprocessTests+Windows.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Tests/SubprocessTests/SubprocessTests+Windows.swift -------------------------------------------------------------------------------- /Tests/SubprocessTests/TestSupport.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Tests/SubprocessTests/TestSupport.swift -------------------------------------------------------------------------------- /Tests/TestResources/Resources/TheMysteriousIsland.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Tests/TestResources/Resources/TheMysteriousIsland.txt -------------------------------------------------------------------------------- /Tests/TestResources/Resources/getgroups.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Tests/TestResources/Resources/getgroups.swift -------------------------------------------------------------------------------- /Tests/TestResources/Resources/windows-tester.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Tests/TestResources/Resources/windows-tester.ps1 -------------------------------------------------------------------------------- /Tests/TestResources/TestResources.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iCharlesHu/Subprocess/HEAD/Tests/TestResources/TestResources.swift --------------------------------------------------------------------------------