subprocess.stderr


表示子进程的 stderr 的可读流。

如果子进程被衍生时 stdio[2] 被设置为 'pipe' 以外的任何值,则该值将会是 null

subprocess.stderrsubprocess.stdio[2] 的别名。 两个属性都将会指向相同的值。

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

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

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