subprocess.stdout


返回子进程的 stdout 可读流。

如果衍生子进程时 stdio[1] 被设为不是 'pipe' 的值,则返回 null

subprocess.stdoutsubprocess.stdio[1] 的别名。 两个属性指向同一个值。

A Readable Stream that represents the child process's stdout.

If the child was spawned with stdio[1] set to anything other than 'pipe', then this will be null.

subprocess.stdout is an alias for subprocess.stdio[1]. Both properties will refer to the same value.