Skip to content

Always perform exec in command.#2125

Merged
copybara-service[bot] merged 1 commit into
mainfrom
cl/945700512
Jul 17, 2026
Merged

Always perform exec in command.#2125
copybara-service[bot] merged 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.

@copybara-service
copybara-service Bot force-pushed the cl/945700512 branch 3 times, most recently from 48a302b to 292fb1c Compare July 17, 2026 20:54
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: 949754461
@copybara-service
copybara-service Bot merged commit ad66c13 into main Jul 17, 2026
@copybara-service
copybara-service Bot deleted the cl/945700512 branch July 17, 2026 21:11
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