aboutsummaryrefslogtreecommitdiff
path: root/source/conda.d
diff options
context:
space:
mode:
Diffstat (limited to 'source/conda.d')
-rw-r--r--source/conda.d6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/conda.d b/source/conda.d
index 1bd6581..2f447bd 100644
--- a/source/conda.d
+++ b/source/conda.d
@@ -241,9 +241,9 @@ class Conda {
int sh(string command) {
writeln("Running: " ~ command);
- auto proc = executeShell(command, env=this.env);
- writeln(proc.output);
- return proc.status;
+ auto proc = spawnShell(command, env=this.env);
+ scope(exit) wait(proc);
+ return wait(proc);
}
auto sh_block(string command) {