Skip to content

[exec] Write trailing newline to -pid-file and -internal-pid-file #11901

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

copybara-service[bot]
Copy link

[exec] Write trailing newline to -pid-file and -internal-pid-file

When executing command, otherwise it is not possible to know when the pid file is fully written.

Resolves #11851

This PR only changes exec command, and not other commands that write pid files.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#11861 from stepancheg:pid-file 726d8d9

@copybara-service copybara-service bot added the exported Issue was exported automatically label Jul 8, 2025
@copybara-service copybara-service bot force-pushed the test/cl780722929 branch 9 times, most recently from 075195f to 8217909 Compare July 10, 2025 00:13
When executing command, otherwise it is not possible to know when the pid file is fully written.

Resolves #11851

This PR only changes `exec` command, and not other commands that write pid files.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#11861 from stepancheg:pid-file 726d8d9
PiperOrigin-RevId: 780722929
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exported Issue was exported automatically
Projects
None yet
Development

Successfully merging this pull request may close these issues.

exec -internal-pid-file cannot be used reliably
1 participant