Closed Bug 1522391 Opened 6 years ago Closed 6 years ago

prevent arc from waiting on user input, which manifests as a moz-phab hang

Categories

(Conduit :: moz-phab, enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: glob, Assigned: zalun)

Details

Attachments

(1 file)

under some circumstances moz-phab appears to hang (eg bug 1521980), with the cause being arc is waiting for user input.

looking over arc's code it appears that if we connect the subprocess's STDIN to a pipe, arc will throw an exception instead of waiting for a response. look for phutil_console_require_tty in libphutil's src/console/format.php.

Assignee: nobody → pzalewa

Connecting the STDIN to the PIPE will make arc throw an exception on reading
user input:

read user input, but stdin is being piped from some other source (not a TTY)```
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: