Skip to content

Conversation

@alexreinking
Copy link
Member

system() is just one of those functions that makes me shiver. I noticed it while working on #8939

Replace all uses of system() with a new run_process() helper that consults the PATH, but doesn't shell out.

Copy link
Contributor

@shoaibkamil shoaibkamil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm surprised we only used system() in so few cases. Good idea to use something safer.

Copy link
Contributor

@mcourteaux mcourteaux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for clarifications! 😄

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.

3 participants