From 95b791fa4625eaec2a612a4fd9043b7e7148b341 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 29 Jan 2024 14:57:47 -0500 Subject: Use shell() in place of shell2() --- src/conda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/conda.c b/src/conda.c index 92edfa0..40b40f9 100644 --- a/src/conda.c +++ b/src/conda.c @@ -100,7 +100,7 @@ int conda_activate(const char *root, const char *env_name) { // Fully activate conda and record its effect on the runtime environment char command[PATH_MAX]; snprintf(command, sizeof(command) - 1, "source %s; source %s; conda activate %s &>/dev/null; env -0", path_conda, path_mamba, env_name); - int retval = shell2(&proc, command); + int retval = shell(&proc, command); if (retval) { // it didn't work; drop out for cleanup remove(logfile); -- cgit