summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/process.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/process.rs b/src/util/process.rs
index fba1cff..c7dc0c5 100644
--- a/src/util/process.rs
+++ b/src/util/process.rs
@@ -23,6 +23,8 @@ where
command.stderr(process::Stdio::null());
}
+ let pwd = std::env::current_dir()?;
+ command.env("PWD", pwd);
command.args(entry.get_args());
command.args(paths);
@@ -51,6 +53,8 @@ where
command.stderr(process::Stdio::null());
}
+ let pwd = std::env::current_dir()?;
+ command.env("PWD", pwd);
command.args(entry.get_args());
command.args(paths);