* 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:
@@ -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<()> {
|
||||
|
||||
Reference in New Issue
Block a user