def get_stdin(self, os_path=None, skip_sub_command=False):
sub_command = None if skip_sub_command else self.stdin_sub_command<EOL>inn, path = self._get_in_and_path(<EOL>self.stdin, self.stdin_root, sub_command, os_path)<EOL>if hasattr(inn, '<STR_LIT>'):<EOL><INDENT>return inn.stdout<EOL><DEDENT>return inn<EOL>
Returns a stdin-suitable file-like object based on the
optional os_path and optionally skipping any configured
sub-command.