Closed yarikoptic closed 2 years ago
@yarikoptic --batch
corresponds to passing -b
to the miniconda install script, and it only affects the behavior of that script, not of any Conda processes invoked by it.
if we are requesting it to operate in --batch mode IMHO it should not ask questions and only then we would be true to our description of
--batch Run in batch (noninteractive) mode
option. May be it is an issue then to bring up with the miniconda installer script people in that it should then invoke conda
subprocesses with -y
option. Or is there a dedicated -y
in the installer script?
@yarikoptic These are all the options of the install script:
-b run install in batch mode (without manual intervention),
it is expected the license terms are agreed upon
-f no error if install prefix already exists
-h print this help message and exit
-p PREFIX install prefix, defaults to /Users/jwodder/miniconda3, must not contain spaces.
-s skip running pre/post-link/install scripts
-u update an existing installation
-t run package tests after installation (may install conda-build)
where is the spec we are passing? may be that one could just include -y ?
@yarikoptic --spec
is passed to conda install
.
then please pass -y
to conda install
if there --batch
option we give to once again fulfill its promise.
where I had to enter that
y
although with--batch
I expect no interaction to be needed. Might be an issue with miniconda installer or conda itself, didn't check.