Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-1728

Switch shell.exec usages to subprocess.exec

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The evergreen documentation encourages using subprocess.exec rather than shell.exec to run scripts. In my experience, subprocess.exec makes it much easier to determine which values are defined in an environment. It also encourages the use of external script files over inlined bash, which can help to avoid some of the trickiness that comes with distinguishing between expansions and environment variables. We should port our config file to use subprocess.exec and avoid future usage of shell.exec.

      https://docs.devprod.prod.corp.mongodb.com/evergreen/Project-Configuration/Best-Practices

            Assignee:
            Unassigned Unassigned
            Reporter:
            isabel.atkinson@mongodb.com Isabel Atkinson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: