From: Patrick S. <mai...@st...> - 2005-03-24 20:07:36
|
Hi again. I think it isn't that easy. wxhaskell gives the command to the wxWindows execution function(s). You can first try to make the following: go to your sourcecode of the wxWidgets and try to compile and test the exec sample. This is quite the same like in haskell. Have a look if you can make commands without crashes.. /data/software/haskell/wxGTK-2.4.2/samples/exec Cheers Patrick On Thursday 24 March 2005 20:25, Patrick Scheibe wrote: > Hi, > > The sample is running very well on my machine. I don't think that is > wxHaskell problem. Maybe it is a good way to figure out which commands are > called processExecAsyncTimed. > Maybe it calls just a normal haskell IO function which crashes on yours. > > I have a linux box, version 6.4.20050215 (but that worked on my ghc-6.2.2 > too) and wxHaskell version 0.9 (but in the 0.8 lib the sample runs as > well). > > Cheers > Patrick > > On Thursday 24 March 2005 19:49, Tobias Engvall wrote: > > > Hello everyone! > > > > > > I have got some problems with the process example > > > http://cvs.sourceforge.net/viewcvs.py/wxhaskell/wxhaskell/samples/wx/Pr > > >oc ess.hs?rev=1.13&view=auto > > > > > > When I try to run a command, it dies with the error: > > > Fail: Prelude.chr bad argument > > > > > > This happens when the process terminates (the OnRecieve-stuff seems > > > to work fine) > > > I've tried this with the wxhaskell-cvs, on two different machines > > > > The computers are running linux > > > > /me slaps himself over the cheek > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_ide95&alloc_id396&op=Click > > _______________________________________________ > > wxhaskell-users mailing list > > wxh...@li... > > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users |