Skip to content

Commit

Permalink
Detach engine popen process with parent process
Browse files Browse the repository at this point in the history
Linked with CL: https://codereview.chromium.org/2269303002/

BUG=640368

Review-Url: https://codereview.chromium.org/2283083002
Cr-Commit-Position: refs/heads/master@{#415221}
  • Loading branch information
shenghuazhang authored and Commit bot committed Aug 30, 2016
1 parent f5feceb commit 9a2dad0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion blimp/tools/client_engine_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ def RunEngine(output_linux_directory, token_file_path, device):
' --vmodule="blimp*=1"']
p = subprocess.Popen(run_engine_cmd, shell=True,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT)
stderr=subprocess.STDOUT,
preexec_fn=os.setsid)

for line in iter(p.stdout.readline, ''):
sys.stdout.write(line)
Expand Down

0 comments on commit 9a2dad0

Please sign in to comment.