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

Use exec, not shell, to run subprograms #88

Closed
lars-t-hansen opened this issue Aug 16, 2023 · 0 comments
Closed

Use exec, not shell, to run subprograms #88

lars-t-hansen opened this issue Aug 16, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request Later Low priority / background task performance

Comments

@lars-t-hansen
Copy link
Collaborator

See #86 and #87 also; full fixes for those makes the following point moot.

Sonar uses the shell command to run subprograms. This forks an intermediate shell with all its baggage that then runs the subprogram for us. This is not really necessary (it adds overhead); we could be using fork+exec or similar functionality to invoke the subprograms directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Later Low priority / background task performance
Projects
None yet
Development

No branches or pull requests

1 participant