<< Back to previous view |
![]() |
[QB-3713] Exit code of successful copy of Robocopy becomes error code in QuickBuild.
|
|
Status: | Closed |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | 10.0.28 |
Fix Version/s: | None |
Type: | Bug | Priority: | Major |
Reporter: | Phong Trinh | Assigned To: | Robin Shen |
Resolution: | Won't Fix | Votes: | 0 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown |
Description |
robocopy exit code 0 = no files were copied
robocopy exit code 1 = files were copied When the result is 1, this becomes an error exit code in QuickBuild. How can this be handled? Thanks, ptrinh |
Comments |
Comment by Robin Shen [ 05/May/21 11:24 PM ] |
This violates normal contract of exit code. You may consider write a wrapping shell/batch script to return 0 on files being copied, and non-zero otherwise. |
Comment by Phong Trinh [ 05/May/21 11:33 PM ] |
Thanks. Robocopy returns weird exit codes. |