1
1
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:
Daniel Carr 2024-03-04 10:20:43 -08:00 committed by GitHub
parent 8f8e221563
commit 9722784396
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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())