[Haskell-cafe] little help please
Roderick Ford
developer at live.com
Thu Mar 18 14:46:15 EDT 2010
this will be EASY for you to fix, I am sure... what the heck am I doing wrong:
import System.Environment(getArgs)import System.Process(readProcessWithExitCode)import System.Exit(exitWith)
main = do args <- getArgs (ecode,out,err) <- readProcessWithExitCode "c:\\Perl64\\bin\\perl.exe" ("C:\\Program Files\\MySQL\\scripts\\mysql_config.pl" : args) "" if ecode == System.Exit.ExitCode.ExitSuccess then return out else return err exitWith ecode
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100318/ae425fdb/attachment.html
More information about the Haskell-Cafe
mailing list