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, Mar 23, 7:56 PM
Unknown Object (File)
Tue, Mar 19, 5:47 PM
Unknown Object (File)
Tue, Mar 19, 5:47 PM
Unknown Object (File)
Tue, Mar 19, 5:44 PM
Unknown Object (File)
Tue, Mar 19, 5:20 PM
Unknown Object (File)
Tue, Mar 19, 4:46 PM
Unknown Object (File)
Sat, Mar 16, 11:48 AM
Unknown Object (File)
Thu, Feb 29, 10:03 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.