Kare Morstol

Results 20 comments of Kare Morstol

Yes I think I would prefer listing each operator once too. Less clutter in the menu.

Yes this is something that should be better supported in SwiftShell. It might be better to have all the `run*`-commands throw errors if they can't be executed. For now you...

Hi, good question. I will take a look when I get back in 2 days. Just a couple of questions: - are you using SwiftShell from a command-line application/script or...

[This](https://github.com/kareman/SwiftShell/compare/writeablestream-oninput) is something like what I had in mind. The problem is the closure you assign to `onInput` will be called many many times, even if the script/command you are...

You will in any case also have to check the stdout of the command to see what input the script is asking for. Also I think many commands will wisely...

I don't know how to be notified only when and if a command asks for input. I'm leaving this open in case someone else does.

I don’t know any more about this than I did 1 year ago I’m afraid. FileHandle’s writeabilityHandler seems like the right tool for the job but I couldn’t get it...

Nice finding. Any reimplementation of SwiftShell.run using terminationHandler is welcome :)

You're right, it is a bit cumbersome the way it is now. The problem with your suggestion is that it makes it more cumbersome to get the result of a...

Hi, SwiftShell does not support interacting with running processes, other than launching them and getting their output. Except if you run a command `runAsync` you can send commands .stop, .interrupt...