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
F19097749: D21804.id.diff
Thu, Dec 4, 2:46 PM
F19093623: D21804.diff
Wed, Dec 3, 9:58 PM
F19050708: D21804.id51971.diff
Thu, Nov 27, 9:09 PM
F19048714: D21804.id51971.diff
Thu, Nov 27, 3:10 PM
F19044715: D21804.id51971.diff
Thu, Nov 27, 4:09 AM
F18982894: D21804.id51971.diff
Mon, Nov 17, 7:40 AM
F18865895: D21804.id.diff
Nov 3 2025, 2:31 PM
F18863121: D21804.diff
Nov 2 2025, 10:02 PM
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.