diff options
author | 2015-02-18 03:16:07 +0100 | |
---|---|---|
committer | 2015-02-18 03:16:07 +0100 | |
commit | 91474197a0ad11ad8169e8dbf582c9a29ab67cf9 (patch) | |
tree | 3843ce3fd27898fb84767966a11d004c9b1b983d | |
parent | doc/, hook env: document stdin==/dev/null (diff) | |
download | R_overlay-91474197a0ad11ad8169e8dbf582c9a29ab67cf9.tar.gz R_overlay-91474197a0ad11ad8169e8dbf582c9a29ab67cf9.tar.bz2 R_overlay-91474197a0ad11ad8169e8dbf582c9a29ab67cf9.zip |
fix 8647dac1ec5ad63cd44a8dfc121b8b0942b688ad
add missing module / kwargs=>kill_kwargs typo
-rw-r--r-- | roverlay/tools/subproc.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roverlay/tools/subproc.py b/roverlay/tools/subproc.py index a62601f..b5fa476 100644 --- a/roverlay/tools/subproc.py +++ b/roverlay/tools/subproc.py @@ -7,6 +7,7 @@ import os import subprocess import sys +import time __all__ = [ 'get_subproc_devnull', @@ -98,7 +99,7 @@ def gracefully_stop_subprocess ( proc, **kill_kwargs ): if subproc_send_term ( proc ): proc.communicate() except: - stop_subprocess ( proc, **kwargs ) + stop_subprocess ( proc, **kill_kwargs ) raise def create_subprocess ( cmdv, **kwargs ): |