what is the name of the swift package apple released that more easily allows for running other processes
Asked on 2025-08-03
1 search
The Swift package released by Apple that allows for more easily running other processes is called the "subprocess package." This package provides APIs for launching subprocesses, allowing you to call the run
function and await the result. You can specify the process by providing a string with the process name or by using a file path to specify the full path to an executable. The package is currently in version 0.1, and feedback from adoption will inform the API for version 1.0. You can explore the full API surface in the Swift subprocess repository.
For more details, you can refer to the session What’s new in Swift (09:40).

What’s new in Swift
Join us for an update on Swift. We’ll talk about workflow improvements that make you more productive, and new and modernized library APIs for fundamental programming tasks. We’ll show examples of Swift adoption throughout more layers of the software stack. Finally, we’ll explore new language features for both improving approachability of concurrency, and achieving peak performance when you need it.

Platforms State of the Union
Discover the newest advancements on Apple platforms.

What’s new in Swift
Join us for an update on Swift. We’ll briefly go through a history of Swift over the past decade, and show you how the community has grown through workgroups, expanded the package ecosystem, and increased platform support. We’ll introduce you to a new language mode that achieves data-race safety by default, and a language subset that lets you run Swift on highly constrained systems. We’ll also explore some language updates including noncopyable types, typed throws, and improved C++ interoperability.