Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove use of backtick execution #132

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

treacher
Copy link

Context

The current use of backticks doesn't pose an immediate risk, however in general it's best to avoid them where possible. One of the projects I'm working on blocks all exec calls using backticks which is part of the reason I'm raising this PR.

I'll leave this PR in draft in the hopes the following PR gets merged: #131 if it doesn't get merged I'm happy to update this PR to use the old version of RSpec.

Changes

  • Move to using IO.popen instead of backticks.
  • Update the tests accordingly.

Testing

Installed the gem locally and generated an image from HTML and observed that the image generated correctly.

@treacher treacher marked this pull request as ready for review January 22, 2024 03:51
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.

None yet

1 participant