The shell-pipe package

[Tags:deprecated, gpl, library, program]
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]

Properties

Versions 0.1
Dependencies base [details]
License GPL
Author David J. Sankel <camior@gmail.com>
Maintainer Henning Thielemann <haskell@henning-thielemann.de>
Stability Unknown
Category System
Home page http://gnu.rtin.bz/directory/devel/prog/other/shell-haskell.html
Uploaded Tue Sep 25 10:34:27 UTC 2007 by HenningThielemann
Distributions
Downloads 298 total (2 in the last 30 days)
Votes
0 []
Status Docs not available [build log]
All reported builds failed as of 2015-11-13 [all 5 reports]

Modules

  • Shell

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for shell-pipe

Readme for shell-pipe-0.1

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