Im trying to find a way to make a run cancellable
patchthecode opened this issue · 0 comments
patchthecode commented
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?