shell-pipe: Pipe streams through external shell commands

[ deprecated, library, program, system ] [ Propose Tags ]
Deprecated in favor of process

Beginning with GHC-6.4 System.Process is available, which is the better choice. Original name was shell-haskell.


[Skip to Readme]

Modules

  • Shell

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1
Dependencies base [details]
License LicenseRef-GPL
Author David J. Sankel <camior@gmail.com>
Maintainer Henning Thielemann <haskell@henning-thielemann.de>
Category System
Home page http://gnu.rtin.bz/directory/devel/prog/other/shell-haskell.html
Uploaded by HenningThielemann at 2007-09-25T10:34:27Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables Bug1, Example2, Example1
Downloads 1072 total (3 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-01-04 [all 7 reports]

Readme for shell-pipe-0.1

[back to package description]
Welcome to shell-haskell 1.0.1

  This readme file describes the shell-haskell package.  For newer versions
and other information visit the shell-haskell homepage at:

    http://www.electronconsulting.com/shell-haskell/

Description:

  shell-haskell provides utilities to communicate with other process's via 
Haskell code.  It can be used for something as simple as getting the output
of another program or as complex as interacting with an interpreter.

License:

  Public Domain.

Compilation:

  This library requires ghc to compile (http://www.haskell.org/ghc/).  Run
make (gnu version) to compile the example programs.  The library makes use
of the haskell ffi specification along with a provided c stub for UNIX
computers.  If someone creates a windows stub, I'd be happy to see it and
add it to this distribution.

Library:

  This package currently has one function, Shell(launch).

  launch :: 
    String ->   -- Program Name
    [String] -> -- Program Arguments (must have at least one argument)
    IO 
      (Handle,  --Returns handles for stdin, stdout, and stderr respectively
       Handle, 
       Handle)

Example Programs:

  This package comes with two example programs. Example1 lists the dotfiles
of one's home directory.  Example2 takes an argument (such as "33+33") and
executes it using ghci as an interpretor.

Contact:

  Please email me your thoughts/uses/comments/bug-reports/suggestions/etc.
at:
    camior@gmail.com