Use system2 instead of system so we can capture output on Windows