kareman / SwiftShell

A Swift framework for shell scripting.
https://kareman.github.io/SwiftShell
MIT License
1.03k stars 87 forks source link

output not printed out #42

Closed massdonati closed 7 years ago

massdonati commented 7 years ago

Hello, first of all congrats on this package, really useful! The problem I'm facing it to print the git output from a run function. run(bash: "git clone [...]") I can't find a way to let the run be verbose. what ends up being instead is nothing till the repo has been cloned.

kareman commented 7 years ago

Try try runAndPrint(bash: "git clone [...]"). This will print the output while the command is running.

kareman commented 7 years ago

@maxydon I will close this issue now. Feel free to reopen it if your problem has not been resolved.