Is there any possibility for exec-wrappers to provide an "instant exec" mode in which it does the wrapping and executes the command all at once? exec-wrappers is an interesting solution to the headaches of activating conda environments from things like IDEs, but it still leaves the chore of having to go around creating wrappers for each environment. Would it be possible to have something like run-wrapped -t conda --conda-env-dir ~/miniconda/envs/test python -c "import sys; print(sys.executable)", which would simply apply a wrapper and immediately use it to execute the given command? This would then be like what conda run is supposed to be: a tool to run a command in a conda environment with a single command line, not requiring a separate user-interactive step for activation or wrapper-creating. Or would it be too slow to be useful?
Is there any possibility for exec-wrappers to provide an "instant exec" mode in which it does the wrapping and executes the command all at once? exec-wrappers is an interesting solution to the headaches of activating conda environments from things like IDEs, but it still leaves the chore of having to go around creating wrappers for each environment. Would it be possible to have something like
run-wrapped -t conda --conda-env-dir ~/miniconda/envs/test python -c "import sys; print(sys.executable)", which would simply apply a wrapper and immediately use it to execute the given command? This would then be like whatconda runis supposed to be: a tool to run a command in a conda environment with a single command line, not requiring a separate user-interactive step for activation or wrapper-creating. Or would it be too slow to be useful?