|
From: Benedikt G. <Ben...@we...> - 2004-11-09 17:37:44
|
Hello List,
I just tried the Process example on my debian gnu linux (testing) laptop
(intel centrino). Linux kernel version 2.6.7.
wxgtk-2.4-config --version reports 2.4.2 (debian package)
ghc --version reports 6.2.1
I'm using wxhaskell-0.8 compiled using --with-opengl. I get segmentation
faults most of the time:
- when trying to use a not existing command (cmd for example)
- bash works and after bash is started all cmds executed inside bash
do not cause sigsevs as well
- ls (without bash) causes sigsev
- cat (without bash) works
- cat Process.hs (without bash) causes sigsev
- cat fooo (without bash fooo being a non existant file) causes sigsev
What's going on? On a side note how is one supposed to use the
inputStreamRead* collection of functions (see Graphics.UI.WXCore.Process)
there does not seem to be a function to get an InputStream given a Process.
Cheers and Thanks for your help,
Bene
--
Benedikt Grundmann
For animals, the entire universe has been neatly divided into things
to (a) mate with, (b) eat, (c) run away from, and (d) rocks.
--- (Terry Pratchett, Equal Rites) ---
|