aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/conda.d6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/conda.d b/source/conda.d
index 3ca5b62..3f1fe1c 100644
--- a/source/conda.d
+++ b/source/conda.d
@@ -13,7 +13,11 @@ import std.typecons;
static auto getenv(string[string] base=null, string preface=null) {
const char delim = '=';
string[string] env;
- string cmd = "env -0";
+ string cmd = "env";
+
+ version (Linux) {
+ cmd = cmd ~ " -0";
+ }
// Execute a command before dumping the environment
if (preface !is null) {