Executes the external command <cmd> with all
additionally provided arguments (<args>) and pipes a
serialized representation of the input object into its
standard input.
The serialization is obtained by a call to the
'copy2channel' method of the input object and immediately
written into the internal channel, which was given as first
and only argument to the call.
Note: The above places a restriction on the
interface of the input object and must not be used if the
actual input object is unable to meet it (existence and
semantics of 'copy2channel'). This is in the grey area
between completely generic and specialized actions (like
for mail).
The example below pipes the input object into a command
from the MH mail system and thus assumes that the input is
a mail.
|