If an input is passed, yes it's written to the underlying process's stdin.