From 28baf16bd8e404b81f8eceb16f7758d1b7e31845 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Wed, 18 Mar 2020 23:07:35 -0300 Subject: [PATCH] Supressed eeschema stdout to avoid printing the ERC report --- src/eeschema_do | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/eeschema_do b/src/eeschema_do index edb4213..5143959 100755 --- a/src/eeschema_do +++ b/src/eeschema_do @@ -344,7 +344,8 @@ if __name__ == '__main__': output_file_no_ext = os.path.join(output_dir, os.path.splitext(os.path.basename(args.schematic))[0]) with recorded_xvfb(output_dir if args.record else None, args.command+'_eeschema_screencast.ogv', width=args.rec_width, height=args.rec_height, colordepth=24): - with PopenContext(['eeschema', args.schematic], close_fds=True, stderr=open(os.devnull, 'wb')) as eeschema_proc: + with PopenContext(['eeschema', args.schematic], close_fds=True, + stderr=open(os.devnull, 'wb'), stdout=open(os.devnull, 'wb')) as eeschema_proc: eeschema_skip_errors() if args.command == 'export': # Export