Asynchronize exec command

RESOLVED FIXED

Status

Testing
SUTAgent
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: mcote, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
The 'exec' command needs to be fully asynchronous, that is, not blocking other connections while the subprocess executes. The simplest most cross-platformy way to do this is to periodically poll the subprocess, collecting/draining output, and cleaning up when it exits.

We need to implement a SubprocessEventHandler class that uses setTimeout() to poll periodically.
(Reporter)

Updated

5 years ago
Blocks: 781041
(Reporter)

Comment 1

5 years ago
https://github.com/mihneadb/Negatus/commit/abf26a5b0745e4306b7315f749f76113f844fea4
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.