Daniel's Notes

Home

❯

Topics

❯

Software Development

❯

Programming Languages

❯

Swift

❯

Calling a CLI in Swift

Calling a CLI in Swift

May 04, 20251 min read

Disambiguation

This page is about running a CLI from within Swift code. To learn about building a CLI in Swift see Building CLI apps in Swift.

Tools

  • Process | Apple Developer Documentation
    • ℹ️: This is the standard older way. For the newer way, see Subprocess
  • GitHub - swiftlang/swift-subprocess: Subprocess is a cross-platform package for spawning processes in Swift.
  • GitHub - tuist/Command: 📦 A micro Swift package with utilities for running system processes

Graph View

Backlinks

  • Swift

Created with Quartz v4.5.0 © 2025

  • GitHub
  • Discord Community