subprocess.stderr


代表子进程的 stderrReadable Stream

如果子进程衍生时 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.