class input_command :string ->
in_obj_channel
Runs the command with /bin/sh
, and reads the data the command prints
to stdout.
The method pos_in
returns the number of read octets.
When close_in
is invoked, the subprocess is wait
ed for. If the
process exits with code 0, the method returns normally. Otherwise,
the exception Command_failure
is raised.