STS-3199 Fix for white space problem as well as refactored process
launching into a separate process type.