From 8c204f2d712f1b5e23a6ccb5c89f72675481405e Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 17 Sep 2011 20:23:20 +0200 Subject: [PATCH] pipe correctly into subprocess --- debian_build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian_build.py b/debian_build.py index 80f3b79..b940e7b 100755 --- a/debian_build.py +++ b/debian_build.py @@ -363,11 +363,12 @@ if __name__ == '__main__': cmd, shell=False, close_fds=True, - stdin=new_log, + stdin=subprocess.PIPE, stdout=sys.stdout, stderr=sys.stderr, cwd=os.getcwd() ) + dch.stdin.write(new_log) ret = dch.wait() if ret: -- 2.39.5