windows/ofSystem()

This is a tangent of my other topic here.

How does ofSystem() work on Windows? It seems it’s supposed to execute commands as they would be done in the command prompt, but eg. ofSystem(“ipConfig”) seemingly does nothing…

Hey @s_e_p maybe have a look at ofUtils.cpp for the details, but windows looks pretty similar to the others. In my macOS nightly its on lines 1046 thru 1073. It looks to me like ofSystem() uses calls (or maybe macros ?) from the c std lib.

echoing @timchi - and there is some quite clear info in the .h
TLDR: it gives the output as a string instead of printing to the console.

Ahh, I see. Thank you!