Skip to content

Commit

Permalink
Merge pull request #7 from glrs/fix/ngi-report-generator-prompt
Browse files Browse the repository at this point in the history
Fix prompt issue in ngi_report_generator
  • Loading branch information
glrs authored Oct 25, 2024
2 parents ba4d055 + fce4cfd commit fbddacc
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 fbddacc

Please sign in to comment.