We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ff1b29 commit 7e1f6d9Copy full SHA for 7e1f6d9
1 file changed
src/run/runner/valgrind/measure.rs
@@ -55,11 +55,11 @@ fn create_run_script() -> anyhow::Result<TempPath> {
55
// Args:
56
// 1. The command to execute
57
// 2. The path to the file where the exit code will be written
58
- const WRAPPER_SCRIPT: &str = r#"#!/bin/sh
59
- sh -c "$1"
60
- status=$?
61
- echo -n "$status" > "$2"
62
- "#;
+ const WRAPPER_SCRIPT: &str = r#"#!/usr/bin/env bash
+bash -c "$1"
+status=$?
+echo -n "$status" > "$2"
+"#;
63
64
let rwx = std::fs::Permissions::from_mode(0o777);
65
let mut script_file = tempfile::Builder::new()
0 commit comments