Workaround Rust 1.49 breaking macOS processes with a materialized argv0 (#11452)
Workaround Rust 1.49 breaking macOS processes with a materialized argv0 (#11452)

Works around https://github.com/pantsbuild/pants/issues/11406, which we found is due to https://github.com/rust-lang/rust/issues/80819.

To workaround, we absolutify relative paths when they are argv[0]. We only do this for local execution.
benjyw/pants,pantsbuild/pants,pantsbuild/pants,jsirois/pants,benjyw/pants,benjyw/pants,pantsbuild/pants,benjyw/pants,jsirois/pants,pantsbuild/pants,benjyw/pants,benjyw/pants,benjyw/pants,pantsbuild/pants,pantsbuild/pants,pantsbuild/pants,jsirois/pants