Lines Matching defs:output
48 Perform a command pipeline, with optional input/output filenames.
53 example [ ['ls', '.git'] ['wc'] ] will pipe the output of
57 capture: True to capture output
59 oneline: True to strip newline chars from output
60 output_func: Output function to call with each output fragment
107 result.output = result.stdout.rstrip(b'\r\n')
113 def output(*cmd, **kwargs):
118 """Run a command and output it as a single-line string
120 The command us expected to produce a single line of output
123 String containing output of command