Skip to content

Always perform exec in command.#2125

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
cl/945700512
Open

Always perform exec in command.#2125
copybara-service[bot] wants to merge 1 commit into
mainfrom
cl/945700512

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Always perform exec in command.

This avoids the shell process between the parent and the actual command when running without the fork server.
Otherwise when running without fork server but in persistent mode, cleaning up the execution may end up getting the exit status of the shell process instead of the command process.

This avoids the shell process between the parent and the actual command when running without the fork server.
Otherwise when running without fork server but in persistent mode, cleaning up the execution may end up getting the exit status of the shell process instead of the command process.

PiperOrigin-RevId: 945700512
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