I am trying to run exec on a windows platform, it works well for dir and other small commands