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

Version0.1
Change logNone available
Dependenciesbase [details]
LicenseGPL
AuthorDavid J. Sankel <camior@gmail.com>
MaintainerHenning Thielemann <haskell@henning-thielemann.de>
CategorySystem
Home pagehttp://gnu.rtin.bz/directory/devel/prog/other/shell-haskell.html
ExecutablesBug1, Example2, Example1
UploadedTue Sep 25 10:34:27 UTC 2007 by HenningThielemann
Downloads246 total (13 in last 30 days)
Votes
0 []
StatusDocs not available [build log]
All reported builds failed as of 2015-05-21 [all 2 reports]

Modules

Downloads

Maintainers' corner

For package maintainers and hackage trustees

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