From cafdc40e304853ae5f8b8a358877416fd1fb11db Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 31 Aug 2011 19:32:28 +0200 Subject: [PATCH] feed it into stdin --- build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.py b/build.py index edbfd65..9fa1028 100755 --- a/build.py +++ b/build.py @@ -360,11 +360,12 @@ if __name__ == '__main__': stdout_msg = parse_changelog.stdout.read() logger.info(stdout_msg) - cmd = ['grep-dctrl', '-n', '-s', "Version ''", stdout_msg] + cmd = ['grep-dctrl', '-n', '-s', "Version ''"] grep_dctrl = subprocess.Popen( cmd, shell=False, close_fds=True, + stdin=stdout_msg, stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd='./' -- 2.39.5