Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Im trying to find a way to make a run cancellable #108

Open
patchthecode opened this issue Mar 28, 2023 · 0 comments
Open

Im trying to find a way to make a run cancellable #108

patchthecode opened this issue Mar 28, 2023 · 0 comments

Comments

@patchthecode
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant