add run_always to recently migrated start_process command

This commit is contained in:
bit-aloo 2025-06-17 18:55:49 +05:30
parent 05e1ae7bd4
commit 55e2c2681e
No known key found for this signature in database

View file

@ -66,16 +66,19 @@ impl GitInfo {
.arg("-1")
.arg("--date=short")
.arg("--pretty=format:%cd")
.run_always()
.start_capture_stdout(&exec_ctx);
let mut git_hash_cmd = helpers::git(Some(dir));
let ver_hash = git_hash_cmd.arg("rev-parse").arg("HEAD").start_capture_stdout(&exec_ctx);
let ver_hash =
git_hash_cmd.arg("rev-parse").arg("HEAD").run_always().start_capture_stdout(&exec_ctx);
let mut git_short_hash_cmd = helpers::git(Some(dir));
let short_ver_hash = git_short_hash_cmd
.arg("rev-parse")
.arg("--short=9")
.arg("HEAD")
.run_always()
.start_capture_stdout(&exec_ctx);
GitInfo::Present(Some(Info {