Ripped from https://github.com/swiftlang/swift-sdk-generator/tree/maxd/update-async-process in an attempt to actually spawn a process from Swift correctly in Linux.
What's New
Description
- Swift Tools 5.7.0
Description
{
"name": "AsyncProcess",
"path": "/usr/src/package",
"targets": [
{
"name": "ProcessSpawnSync",
"path": "Sources/ProcessSpawnSync",
"type": "library",
"c99name": "ProcessSpawnSync",
"sources": [
"ProcessSpawner.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"AsyncProcess",
"ProcessSpawnSync"
],
"target_dependencies": [
"CProcessSpawnSync"
],
"product_dependencies": [
"Atomics",
"NIOConcurrencyHelpers"
]
},
{
"name": "CProcessSpawnSync",
"path": "Sources/CProcessSpawnSync",
"type": "library",
"c99name": "CProcessSpawnSync",
"sources": [
"spawner.c"
],
"module_type": "ClangTarget",
"product_memberships": [
"AsyncProcess",
"ProcessSpawnSync"
]
},
{
"name": "AsyncProcessTests",
"path": "Tests/AsyncProcessTests",
"type": "test",
"c99name": "AsyncProcessTests",
"sources": [
"AsyncByteBufferLineSequenceTests.swift",
"Helpers+LogRecorderHandler.swift",
"IntegrationTests.swift"
],
"module_type": "SwiftTarget",
"target_dependencies": [
"AsyncProcess"
],
"product_dependencies": [
"Atomics",
"AsyncAlgorithms",
"NIO",
"NIOConcurrencyHelpers",
"Logging"
]
},
{
"name": "AsyncProcess",
"path": "Sources/AsyncProcess",
"type": "library",
"c99name": "AsyncProcess",
"sources": [
"ChunkSequence.swift",
"EOFSequence.swift",
"FileContentStream.swift",
"NIOAsyncPipeWriter.swift",
"ProcessExecutor+Convenience.swift",
"ProcessExecutor.swift",
"ProcessExit.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"AsyncProcess"
],
"target_dependencies": [
"ProcessSpawnSync"
],
"product_dependencies": [
"Atomics",
"AsyncAlgorithms",
"Logging",
"NIO",
"DequeModule",
"SystemPackage"
]
}
],
"products": [
{
"name": "AsyncProcess",
"type": {
"library": [
"automatic"
]
},
"targets": [
"AsyncProcess"
]
},
{
"name": "ProcessSpawnSync",
"type": {
"library": [
"automatic"
]
},
"targets": [
"ProcessSpawnSync"
]
}
],
"platforms": [
{
"name": "macos",
"version": "10.15"
}
],
"dependencies": [
{
"url": "https://github.com/apple/swift-system",
"type": "sourceControl",
"identity": "swift-system",
"requirement": {
"range": [
{
"lower_bound": "1.3.0",
"upper_bound": "2.0.0"
}
]
}
},
{
"url": "https://github.com/apple/swift-async-algorithms.git",
"type": "sourceControl",
"identity": "swift-async-algorithms",
"requirement": {
"range": [
{
"lower_bound": "1.0.1",
"upper_bound": "2.0.0"
}
]
}
},
{
"url": "https://github.com/apple/swift-atomics.git",
"type": "sourceControl",
"identity": "swift-atomics",
"requirement": {
"range": [
{
"lower_bound": "1.2.0",
"upper_bound": "2.0.0"
}
]
}
},
{
"url": "https://github.com/apple/swift-collections.git",
"type": "sourceControl",
"identity": "swift-collections",
"requirement": {
"range": [
{
"lower_bound": "1.1.2",
"upper_bound": "2.0.0"
}
]
}
},
{
"url": "https://github.com/apple/swift-nio.git",
"type": "sourceControl",
"identity": "swift-nio",
"requirement": {
"range": [
{
"lower_bound": "2.65.0",
"upper_bound": "3.0.0"
}
]
}
},
{
"url": "https://github.com/apple/swift-log.git",
"type": "sourceControl",
"identity": "swift-log",
"requirement": {
"range": [
{
"lower_bound": "1.5.4",
"upper_bound": "2.0.0"
}
]
}
}
],
"tools_version": "5.7",
"manifest_display_name": "AsyncProcess"
}
Package Dump
{
"name": "AsyncProcess",
"traits": [],
"targets": [
{
"name": "CProcessSpawnSync",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [],
"packageAccess": false
},
{
"name": "ProcessSpawnSync",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"CProcessSpawnSync",
null
]
},
{
"product": [
"Atomics",
"swift-atomics",
null,
null
]
},
{
"product": [
"NIOConcurrencyHelpers",
"swift-nio",
null,
null
]
}
],
"packageAccess": false
},
{
"name": "AsyncProcess",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"ProcessSpawnSync",
null
]
},
{
"product": [
"Atomics",
"swift-atomics",
null,
null
]
},
{
"product": [
"AsyncAlgorithms",
"swift-async-algorithms",
null,
null
]
},
{
"product": [
"Logging",
"swift-log",
null,
null
]
},
{
"product": [
"NIO",
"swift-nio",
null,
null
]
},
{
"product": [
"DequeModule",
"swift-collections",
null,
null
]
},
{
"product": [
"SystemPackage",
"swift-system",
null,
null
]
}
],
"packageAccess": false
},
{
"name": "AsyncProcessTests",
"type": "test",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"AsyncProcess",
null
]
},
{
"product": [
"Atomics",
"swift-atomics",
null,
null
]
},
{
"product": [
"AsyncAlgorithms",
"swift-async-algorithms",
null,
null
]
},
{
"product": [
"NIO",
"swift-nio",
null,
null
]
},
{
"product": [
"NIOConcurrencyHelpers",
"swift-nio",
null,
null
]
},
{
"product": [
"Logging",
"swift-log",
null,
null
]
}
],
"packageAccess": false
}
],
"products": [
{
"name": "AsyncProcess",
"type": {
"library": [
"automatic"
]
},
"targets": [
"AsyncProcess"
]
},
{
"name": "ProcessSpawnSync",
"type": {
"library": [
"automatic"
]
},
"targets": [
"ProcessSpawnSync"
]
}
],
"pkgConfig": null,
"platforms": [
{
"options": [],
"version": "10.15",
"platformName": "macos"
}
],
"providers": null,
"packageKind": {
"root": [
"/usr/src/package"
]
},
"dependencies": [
{
"sourceControl": [
{
"traits": [
{
"name": "default"
}
],
"identity": "swift-system",
"location": {
"remote": [
{
"urlString": "https://github.com/apple/swift-system"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "1.3.0",
"upperBound": "2.0.0"
}
]
},
"productFilter": null
}
]
},
{
"sourceControl": [
{
"traits": [
{
"name": "default"
}
],
"identity": "swift-async-algorithms",
"location": {
"remote": [
{
"urlString": "https://github.com/apple/swift-async-algorithms.git"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "1.0.1",
"upperBound": "2.0.0"
}
]
},
"productFilter": null
}
]
},
{
"sourceControl": [
{
"traits": [
{
"name": "default"
}
],
"identity": "swift-atomics",
"location": {
"remote": [
{
"urlString": "https://github.com/apple/swift-atomics.git"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "1.2.0",
"upperBound": "2.0.0"
}
]
},
"productFilter": null
}
]
},
{
"sourceControl": [
{
"traits": [
{
"name": "default"
}
],
"identity": "swift-collections",
"location": {
"remote": [
{
"urlString": "https://github.com/apple/swift-collections.git"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "1.1.2",
"upperBound": "2.0.0"
}
]
},
"productFilter": null
}
]
},
{
"sourceControl": [
{
"traits": [
{
"name": "default"
}
],
"identity": "swift-nio",
"location": {
"remote": [
{
"urlString": "https://github.com/apple/swift-nio.git"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "2.65.0",
"upperBound": "3.0.0"
}
]
},
"productFilter": null
}
]
},
{
"sourceControl": [
{
"traits": [
{
"name": "default"
}
],
"identity": "swift-log",
"location": {
"remote": [
{
"urlString": "https://github.com/apple/swift-log.git"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "1.5.4",
"upperBound": "2.0.0"
}
]
},
"productFilter": null
}
]
}
],
"toolsVersion": {
"_version": "5.7.0"
},
"cLanguageStandard": null,
"cxxLanguageStandard": null,
"swiftLanguageVersions": null
}
Dependencies
- swift-system1.4.2
- swift-async-algorithms1.0.1
- swift-atomics1.2.0
- swift-collections1.1.4
- swift-nio2.81.0
- swift-log1.6.2
Dependencies
{
"url": "/usr/src/package",
"name": "AsyncProcess",
"path": "/usr/src/package",
"version": "unspecified",
"identity": "package",
"dependencies": [
{
"url": "https://github.com/apple/swift-system",
"name": "swift-system",
"path": "/usr/src/package/.build/checkouts/swift-system",
"version": "1.4.2",
"identity": "swift-system",
"dependencies": []
},
{
"url": "https://github.com/apple/swift-async-algorithms.git",
"name": "swift-async-algorithms",
"path": "/usr/src/package/.build/checkouts/swift-async-algorithms",
"version": "1.0.1",
"identity": "swift-async-algorithms",
"dependencies": [
{
"url": "https://github.com/apple/swift-collections.git",
"name": "swift-collections",
"path": "/usr/src/package/.build/checkouts/swift-collections",
"version": "1.1.4",
"identity": "swift-collections",
"dependencies": []
}
]
},
{
"url": "https://github.com/apple/swift-atomics.git",
"name": "swift-atomics",
"path": "/usr/src/package/.build/checkouts/swift-atomics",
"version": "1.2.0",
"identity": "swift-atomics",
"dependencies": []
},
{
"url": "https://github.com/apple/swift-collections.git",
"name": "swift-collections",
"path": "/usr/src/package/.build/checkouts/swift-collections",
"version": "1.1.4",
"identity": "swift-collections",
"dependencies": []
},
{
"url": "https://github.com/apple/swift-nio.git",
"name": "swift-nio",
"path": "/usr/src/package/.build/checkouts/swift-nio",
"version": "2.81.0",
"identity": "swift-nio",
"dependencies": [
{
"url": "https://github.com/apple/swift-atomics.git",
"name": "swift-atomics",
"path": "/usr/src/package/.build/checkouts/swift-atomics",
"version": "1.2.0",
"identity": "swift-atomics",
"dependencies": []
},
{
"url": "https://github.com/apple/swift-collections.git",
"name": "swift-collections",
"path": "/usr/src/package/.build/checkouts/swift-collections",
"version": "1.1.4",
"identity": "swift-collections",
"dependencies": []
},
{
"url": "https://github.com/apple/swift-system",
"name": "swift-system",
"path": "/usr/src/package/.build/checkouts/swift-system",
"version": "1.4.2",
"identity": "swift-system",
"dependencies": []
}
]
},
{
"url": "https://github.com/apple/swift-log.git",
"name": "swift-log",
"path": "/usr/src/package/.build/checkouts/swift-log",
"version": "1.6.2",
"identity": "swift-log",
"dependencies": []
}
]
}