add get_stdout param to system2()