JohnSundell / ShellOut

Easily run shell commands from a Swift script or command line tool
MIT License
872 stars 85 forks source link

Color context is lost via ShellOut #27

Open toshi0383 opened 6 years ago

toshi0383 commented 6 years ago

Because ShellOut intercepts stdout from executing shell, color and font is lost.

plain-vs-mint

cmdshelf itself used to use ShellOut but not anymore because of this. You can refer to my implementation here.👌 https://github.com/toshi0383/cmdshelf/blob/master/Sources/cmdshelf/Functions.swift#L10