- def mk_portmanteau(s):
- s.logger('making portmanteau')
- cmdl = s.rune_shell + [ s.rune_portmanteau, 'x',
- s.output_name, s.manifest_name ]
+ def _mk_portmanteau(s, ix, rune, cwd, files):
+ output_name = s.output_names[ix]
+ s.logger('making portmanteau %s' % output_name)
+ output_path = os.path.join(s._destdir, output_name)
+ subprocess.run(s.rune_shell + [ rune, 'x' ] + files,
+ cwd=cwd,
+ stdin=subprocess.DEVNULL,
+ stdout=open(output_path, 'wb'),
+ restore_signals=True,
+ check=True)
+ s.output_paths[ix] = output_path
+
+ def mk_inner_portmanteau(s):
+ outputs = [s.manifest_name]