From: Holger Levsen Date: Wed, 31 Aug 2011 17:32:28 +0000 (+0200) Subject: feed it into stdin X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=cafdc40e304853ae5f8b8a358877416fd1fb11db;p=profitbricks%2Fjenkins-build-scripts.git feed it into stdin --- 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='./'