Mercurial > repos > public > sbplib_julia
changeset 1306:c14370f7c731 tooling/benchmarks
Add note about how to hande command exit
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Wed, 26 Apr 2023 13:09:55 +0200 |
| parents | 7894d29ea8fa |
| children | 27afd53511d4 |
| files | benchmark/benchmark_utils.jl |
| diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/benchmark/benchmark_utils.jl Wed Apr 26 13:08:48 2023 +0200 +++ b/benchmark/benchmark_utils.jl Wed Apr 26 13:09:55 2023 +0200 @@ -187,3 +187,12 @@ # uncommit the temporary commit # verbose flag on commit will print the revision id of the new commit. # TBD: What parts are PkgBenchmark contributing? Can it be stripped out? + + +## Catching the exit code and errors from a command can be done with code similar to + # proc = open(cmd) + # if success(proc) + + # else + + # end
