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)
Sat, Nov 23, 7:19 AM
Unknown Object (File)
Tue, Nov 19, 3:44 AM
Unknown Object (File)
Fri, Nov 15, 2:54 AM
Unknown Object (File)
Thu, Nov 14, 4:03 AM
Unknown Object (File)
Wed, Nov 13, 5:37 AM
Unknown Object (File)
Mon, Nov 11, 7:54 AM
Unknown Object (File)
Thu, Nov 7, 10:56 AM
Unknown Object (File)
Thu, Nov 7, 9:06 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.