V10 3 2 bugfix + revert #347 (#382)

* Revert "run_custom_command: use interactive shell on unix (#347)"

This reverts commit d767ef31a5.

* v10-3-3 + revert of #347
This commit is contained in:
Thomas Schönauer
2023-03-13 19:27:33 +00:00
committed by GitHub
parent a3628d0d49
commit 3a3f22b4e5
3 changed files with 35 additions and 39 deletions

View File

@@ -505,10 +505,7 @@ pub fn run_myrepos_update(base_dirs: &BaseDirs, run_type: RunType) -> Result<()>
pub fn run_custom_command(name: &str, command: &str, ctx: &ExecutionContext) -> Result<()> {
print_separator(name);
let mut exec = ctx.run_type().execute(shell());
#[cfg(unix)]
exec.arg("-i");
exec.arg("-c").arg(command).status_checked()
ctx.run_type().execute(shell()).arg("-c").arg(command).status_checked()
}
pub fn run_composer_update(ctx: &ExecutionContext) -> Result<()> {