You could always create the process then send key input to it.