HomeElementl

Use sys.executable instead of 'python' in Popen calls

Description

Use sys.executable instead of 'python' in Popen calls

Summary: This is more robust to Windows virtualenvs, etc., and guards against subprocesses executing using unexpectedly different python binaries.

Test Plan: Unit

Reviewers: alangenfeld, prha

Reviewed By: alangenfeld, prha

Differential Revision: https://dagster.phacility.com/D3878

Details

Provenance
maxAuthored on Jul 14 2020, 2:10 PM
Reviewer
alangenfeld
Differential Revision
D3878: Use sys.executable instead of 'python' in Popen calls
Parents
R1:bd0a7f332bbb: reimplementing all prior validators
Branches
Unknown
Tags
Unknown