subprocess.exitCode


subprocess.exitCode 属性表示子进程的退出码。 如果子进程仍在运行,则该字段将为 null

The subprocess.exitCode property indicates the exit code of the child process. If the child process is still running, the field will be null.