After running system2 on Windows, stdout/stderr no longer work:
#works
sys::exec_with_wait("ping", "localhost")
sys::exec_with_wait("ping", "localhost")
# run base
base::system2("ping", "localhost")
# no longer works
sys::exec_with_wait("ping", "localhost")
After running
system2
on Windows, stdout/stderr no longer work: