MacOS swift: having trouble in obtaining output data from Pipe() – Ios swift
I am trying to run command lines to take screenshots in my Xcode project and using Pipe() to log output data. When I build and run this project in Xcode, I can get the output information as a string, like…