Skip to content

Commit

Permalink
Fix prompt issue in ngi_report_generator
Browse files Browse the repository at this point in the history
  • Loading branch information
glrs committed Oct 25, 2024
1 parent 7a7ff2d commit fce4cfd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/module_utils/ngi_report_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ def generate_ngi_report(
# NOTE: Perhaps use `check=False` to prevent raising
# CalledProcessError on non-zero exit codes
process = subprocess.run(
full_cmd, shell=True, text=True, capture_output=True # , check=False
full_cmd,
shell=True,
text=True,
capture_output=True,
input="y\n", # , check=False
)

# Check the outcome of the subprocess
Expand Down

0 comments on commit fce4cfd

Please sign in to comment.