I'm trying to run system commands using Swift 5.3 and I find some code that looks reasonable using Process(). I added the code to my project and get "Cannot find 'Process' in scope (import Foundation).
Can someone suggest an alternative method for running shell commands using Swift 5.3? I have been unable to find an acceptable solution.
Can someone suggest an alternative method for running shell commands using Swift 5.3? I have been unable to find an acceptable solution.