index : bitwarden-ssh-agent.git

ascending towards madness

author holly sparkles <sparkles@holly.sh> 2023-07-28 20:54:23.0 +00:00:00
committer holly sparkles <sparkles@holly.sh> 2023-07-28 20:54:23.0 +00:00:00
commit
9f2c2a9525a8659b873624ee6ae648e7cf3d25ca [patch]
tree
b7877173a989b5a0665b43819f21b706bead71d2
parent
d82c208953f9ec7e04bba01ecb587584169d18b5
download
9f2c2a9525a8659b873624ee6ae648e7cf3d25ca.tar.gz

refactor: `exec_interactive_command` is now private



Diff

 src/main.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs
index 31f9632..ff35c87 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -101,7 +101,7 @@ fn get_session(args: &Cli) -> Result<String> {
/// The resulting output will be returned as `Output`. This is a modified version of:
/// 
/// https://users.rust-lang.org/t/command-if-a-child-process-is-asking-for-input-how-to-forward-the-question-to-the-user/37490/3
pub fn exec_interactive_command(cmd: &str, args: Vec<&str>) -> Output {
fn exec_interactive_command(cmd: &str, args: Vec<&str>) -> Output {
    let cli_command = match Command::new(cmd)
        .args(&args)
        .stdin(Stdio::inherit())