package gapi-ocaml

  1. Overview
  2. Docs
A simple OCaml client for Google Services

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.4.9.tar.gz
sha256=e189067f3caf58235eee7f3f1b0f051d0192cd012e444c87492b2b502ad7c29c
md5=0f0c17b713f86d91d6be8ddf4a741745

doc/gapi-ocaml.netstring-local/Netchannels/class-output_command/index.html

Class Netchannels.output_commandSource

Runs the command with /bin/sh, and data written to the channel is * piped to stdin of the command. * * The method pos_out returns the number of written octets. * * When close_out is invoked, the subprocess is waited for. If the * process exits with code 0, the method returns normally. Otherwise, * the exception Command_failure is raised. (The channel is closed * even if this exception is raised.) * *

  • parameter onclose

    this function is called when the close_out method is * invoked, just after the underlying descriptor has been closed.