Export to GitHub

chromium-os - issue #39831

Allow host.run to execute a command in the background


Posted on Mar 12, 2013 by Happy Panda

We currently allow one to run a command synchronously by calling |host_object.run("command")|. There exists a framework for spawning, keeping track of, and killing background jobs in client/common_lib/base_utils.py (search for BgJob, and look at the usage in |run()|). It would be nice if we could leverage the same infrastructure to allow commands to be spawned in the background, and to later check to see if they're completed, what the exit code was, and what the command's output was.

Comment #1

Posted on Mar 19, 2013 by Quick Rabbit

Moved to: Issue chromium:221930

Status: Moved

Labels:
Type-Bug Pri-2 Hardware-Lab OS-Chrome