kareman/SwiftShell

Im trying to find a way to make a run cancellable

patchthecode opened this issue · 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?