From 11cb469fb927d91150cec1ab97b0018050ac68c7 Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Mon, 23 Mar 2020 17:05:30 +0100 Subject: [PATCH] appveyor: silence Perl relocation batch script --- appveyor/do.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/appveyor/do.py b/appveyor/do.py index 0b5a263..b98cd16 100644 --- a/appveyor/do.py +++ b/appveyor/do.py @@ -363,8 +363,9 @@ def prepare(*args): cwd=toolsdir) sp.check_call([zip7, 'x', 'perl-{0}.zip'.format(perlver), '-ostrawberry'], cwd=toolsdir) - sp.check_call('relocation.pl.bat', shell=True, - cwd=os.path.join(toolsdir, 'strawberry')) + with open(os.devnull, 'w') as devnull: + sp.check_call('relocation.pl.bat', shell=True, stdout=devnull, + cwd=os.path.join(toolsdir, 'strawberry')) # put our strawberry 'perl' in the PATH os.environ['PATH'] = os.pathsep.join([os.path.join(toolsdir, 'strawberry', 'perl', 'site', 'bin'),