We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
&&
1 parent d863e23 commit 368fd49Copy full SHA for 368fd49
1 file changed
mhkit/package/+mhkit/+conda/parse_info.m
@@ -24,7 +24,7 @@
24
%
25
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
26
27
- [status, cmd_out] = mhkit.sys(sprintf('conda activate %s && conda info', env_name));
+ [status, cmd_out] = mhkit.sys(sprintf('conda run -n %s conda info', env_name));
28
if status ~= 0
29
logger.error('Failed to execute conda info');
30
end
0 commit comments