blob: 82fec1b9c9779c08f410ccedd042e2577b0b606a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#! /usr/bin/env python
"""Simple wrapper for filter programs which ensures that a blank
is returned as output. The purpose is to silence the
AsciiDoc warning "no output from filter".
"""
import sys, subprocess
p = subprocess.Popen(sys.argv[1:])
sys.stdout.write(' ') # To suppress asciidoc 'no output from filter' warnings.
sys.exit(p.wait())
|