SwiftShell icon indicating copy to clipboard operation
SwiftShell copied to clipboard

Im trying to find a way to make a run cancellable

Open patchthecode opened this issue 2 years ago • 0 comments

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?

patchthecode avatar Mar 28 '23 21:03 patchthecode