返回子进程的 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.