Closed Bug 785799 Opened 12 years ago Closed 12 years ago

Asynchronize exec command

Categories

(Testing Graveyard :: SUTAgent, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mcote, Unassigned)

References

Details

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.
https://github.com/mihneadb/Negatus/commit/abf26a5b0745e4306b7315f749f76113f844fea4
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.