Used by CommandLineProcess