Make subprocess call to jmxterm work on windows