SwiftShell
SwiftShell copied to clipboard
Im trying to find a way to make a run cancellable
I want to use SwiftShell.run(bash: consoleCommand)
but i want to cancel it if it is taking a while. I cant use async for this case.
Do i try putting it inside a NSTask or something?