mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
forward tty status to exec/occ
This commit is contained in:
parent
2a587c0c7e
commit
9f8a3b1be8
5 changed files with 9 additions and 5 deletions
|
|
@ -105,7 +105,7 @@ async fn main() -> Result<()> {
|
|||
} else {
|
||||
command
|
||||
},
|
||||
true,
|
||||
atty::is(atty::Stream::Stdout),
|
||||
)
|
||||
.await?;
|
||||
}
|
||||
|
|
@ -120,7 +120,7 @@ async fn main() -> Result<()> {
|
|||
} else {
|
||||
command
|
||||
},
|
||||
true,
|
||||
atty::is(atty::Stream::Stdout),
|
||||
)
|
||||
.await?;
|
||||
}
|
||||
|
|
@ -132,7 +132,9 @@ async fn main() -> Result<()> {
|
|||
} => {
|
||||
let cloud = Cloud::get_by_filter(&mut docker, filter, &config).await?;
|
||||
command.insert(0, "occ".to_string());
|
||||
cloud.exec(&mut docker, command, true).await?;
|
||||
cloud
|
||||
.exec(&mut docker, command, atty::is(atty::Stream::Stdout))
|
||||
.await?;
|
||||
}
|
||||
HazeArgs::Db { filter, root } => {
|
||||
let cloud = Cloud::get_by_filter(&mut docker, filter, &config).await?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue