这是一个创建于 1616 天前的主题,其中的信息可能已经有所发展或是发生改变。
2 条回复 • 2020-09-16 16:57:32 +08:00
![yuhangch](https://cdn.v2ex.com/avatar/0cc7/3790/467934_normal.png?m=1680072171) |
|
1
yuhangch 2020-09-16 16:30:02 +08:00
windows 平台。。。
|
![coolcfan](https://cdn.v2ex.com/avatar/59d1/292f/25272_normal.png?m=1427029336) |
|
2
coolcfan 2020-09-16 16:57:32 +08:00
这个返回值是你运行的那个程序返回的吧……
> the exit value of the subprocess represented by this Process object. By convention, the value 0 indicates normal termination.
非 0 值代表有问题,但是具体什么数字代表什么问题,感觉每个程序都不一样的
|