SwiftSlash
SwiftSlash copied to clipboard
Concurrent shell scripting framework with deep support for async/await.
I'd like to allow commands that I call with SwiftSlash to print stdout and stderr to the console like if they were being run directly in a shell. Is there...
I'm just looking into using SwiftSlash and am having trouble with getting any commands to execute. ``` do { let command = try Command("ps", arguments: ["aux"]) let commandResult = try...
last I checked I think I need to change some stuff to get this working for Swift 6
Hi, I am using SwiftSlash within a task group ```swift try await withThrowingTaskGroup(of: Void.self) { group for cmd in cmds { group.addTask { let commandResult = try await Command(bash:cmd).runSync() guard...
URL.path() will be introduced on Linux in Swift 6 so on current swift versions this does not compile. https://github.com/tannerdsilva/SwiftSlash/blob/10a6080470d0fe481ca2b5ad6acdfc8246cf5406/Sources/SwiftSlash/Command.swift#L69