Commit 2e99537
fix: Prevent overwriting error states on successful exit codes in CliInterface
- Updated the processFinished and extractProcessFinished methods to retain error states detected from stdout, even when the exit code is 0.
- This change ensures that errors such as long file name issues are not masked by a successful exit code, improving error handling and user feedback.
Enhances reliability in archive processing by maintaining accurate error reporting.
bug: https://pms.uniontech.com/bug-view-338535.html1 parent 133c855 commit 2e99537
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1387 | 1387 | | |
1388 | 1388 | | |
1389 | 1389 | | |
1390 | | - | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
1391 | 1394 | | |
1392 | 1395 | | |
1393 | 1396 | | |
| |||
1403 | 1406 | | |
1404 | 1407 | | |
1405 | 1408 | | |
1406 | | - | |
| 1409 | + | |
| 1410 | + | |
1407 | 1411 | | |
1408 | 1412 | | |
1409 | 1413 | | |
| |||
0 commit comments