What is the best way to redirect stdout to NSTextView in Cocoa?

前端 未结 4 1304
南笙
南笙 2020-12-03 12:49

Hi: I want to redirect stdout to a NSTextView. Could this also work with outputs of subprocesses? What might be the best way to achieve this?

EDIT:

4条回答
提交回复
热议问题