<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
this will be EASY for you to fix, I am sure... what the heck am I doing wrong:<div><br></div><div><div>import System.Environment(getArgs)</div><div>import System.Process(readProcessWithExitCode)</div><div>import System.Exit(exitWith)</div><div><br></div><div>main = do</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>args &lt;- getArgs</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>(ecode,out,err) &lt;- readProcessWithExitCode "c:\\Perl64\\bin\\perl.exe" ("C:\\Program Files\\MySQL\\scripts\\mysql_config.pl" : args) ""</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>if ecode == System.Exit.ExitCode.ExitSuccess</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>then return out</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>else return err</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;exitWith ecode</div><div><br></div><div><br></div></div>                                               </body>
</html>