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
F12198055: D21804.id51972.diff
Thu, Sep 28, 2:15 PM
F12194182: D21804.diff
Sun, Sep 24, 5:35 PM
F12192669: D21804.diff
Sat, Sep 23, 2:40 AM
F12186103: D21804.diff
Sat, Sep 16, 4:51 PM
F12171843: D21804.diff
Fri, Sep 8, 9:02 AM
F12162503: D21804.diff
Wed, Sep 6, 8:21 PM
F12160237: D21804.id.diff
Wed, Sep 6, 8:16 AM
F12153819: D21804.diff
Mon, Sep 4, 3:26 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.