This commit enables to have the pex packaging error directly in the notebook, removing the need to run the pex command if something goes awry.
It looks like there is a bug in subprocess.run when checking is activated, as the stderr is then the error in Python itself (on Linux at least).
Going in two steps solves the problem.
This commit enables to have the pex packaging error directly in the notebook, removing the need to run the pex command if something goes awry. It looks like there is a bug in subprocess.run when checking is activated, as the stderr is then the error in Python itself (on Linux at least). Going in two steps solves the problem.