Page MenuHomePhabricator

Return STDIN, STDOUT, and STDERR file descriptors from parent process
ClosedPublic

Authored by epriestley on May 5 2022, 5:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 2, 3:57 PM
Unknown Object (File)
Tue, Jun 2, 3:20 AM
Unknown Object (File)
Apr 14 2026, 10:16 AM
Unknown Object (File)
Mar 11 2026, 2:20 PM
Unknown Object (File)
Mar 8 2026, 5:29 AM
Unknown Object (File)
Mar 5 2026, 1:52 PM
Unknown Object (File)
Feb 22 2026, 6:15 PM
Unknown Object (File)
Feb 14 2026, 9:39 AM
Subscribers
None

Details

Summary

Ref T13675. When a process daemonizes, it needs to close these actual file descriptors, so the calling context must provide them.

Elsewhere, modify the embedded "arc" to provide them. Then use them in place of reopening the streams.

Test Plan

Ran locally with embedded "arc", will deploy for production hangs.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.May 5 2022, 5:27 PM
This revision was automatically updated to reflect the committed changes.