Add `use_default_shell_env = True` to `ctx.actions.run`
Hi @Flamefire Can you please check @majiddadashi's comments and keep us posted ? Thank you! This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you. @majiddadashi Any update here? Hi @majiddadashi  Any update on this PR? Please. Thank you! Hi @majiddadashi Any update on this PR? Please. Thank you! Hi @majiddadashi Any update on this PR? Please. Thank you! Hi @majiddadashi Any update on this PR? Please. Thank you! Hi @majiddadashi Any update on this PR? Please. Thank you! Hi @majiddadashi Any update on this PR? Please. Thank you! Hi @majiddadashi Can you please review this PR? Thank you! Hi @majiddadashi Can you please review this PR? Thank you!
This is required e.g. for `_generate_op_reg_offsets_impl` which otherwise will ommit e.g. `LD_LIBRARY_PATH` which then fails to find a (system-)libprotobuf.so when generating
`//tensorflow/python:math_ops_reg_offsets`

This is in line with other usages of this function to generate files using external tools and previous PRs like https://github.com/tensorflow/tensorflow/pull/44549