allow more flexibility for the subprocess in InputPipeProcessWrapper