mirror of
https://github.com/orhun/git-cliff.git
synced 2024-09-11 06:55:38 +03:00
fix(command): add missing environment variables for Windows (#532)
This commit is contained in:
parent
8f8e221563
commit
9722784396
@ -25,6 +25,7 @@ pub fn run(
|
||||
) -> Result<String> {
|
||||
let mut child = if cfg!(target_os = "windows") {
|
||||
Command::new("cmd")
|
||||
.envs(envs)
|
||||
.args(["/C", command])
|
||||
.stdin(Stdio::piped())
|
||||
.stdout(Stdio::piped())
|
||||
|
Loading…
Reference in New Issue
Block a user