subprocess.stderr


代表子进程的 stderrReadable Stream

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

subprocess.stderrsubprocess.stdio[2] 的别名。 这两个属性将引用相同的值。

如果子进程无法成功衍生,则 subprocess.stderr 属性可以是 nullundefined

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.

The subprocess.stderr property can be null or undefined if the child process could not be successfully spawned.