Skip to content

Add use-shell and ignore-returncode options#5

Open
TB99930 wants to merge 1 commit intoavantus-tech:mainfrom
TB99930:feature/shell-cmd
Open

Add use-shell and ignore-returncode options#5
TB99930 wants to merge 1 commit intoavantus-tech:mainfrom
TB99930:feature/shell-cmd

Conversation

@TB99930
Copy link
Copy Markdown

@TB99930 TB99930 commented Feb 25, 2025

This PR adds two options to each command:

  • use-shell - runs the command using the shell=True option on subprocess.run so that features like shell pipes can be used.
  • ignore-returncode - always returns the exit code of 0 whatever the command returns.
    This enables a number of usage scenarios in CI processes.

@TB99930
Copy link
Copy Markdown
Author

TB99930 commented Feb 25, 2025

Closes #4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant