I am trying to read the output of "codesign" dynamically, but the output is only printed to the screen and not to the file:
codesign -dv MyApp.app > codesign.log
How can I get the output of codesign?
Cheers,
I am trying to read the output of "codesign" dynamically, but the output is only printed to the screen and not to the file:
codesign -dv MyApp.app > codesign.log
How can I get the output of codesign?
Cheers,
If you redirect both stdout and stderr by using the '&' character, it will send the output to the file
codesign -dv /Applications/Calculator.app &> codesign.log