<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="4">Hello everyone,<br>
</font></p>
<p>I found that when I build a drgeo app, the method
processCommandLineArguments breaks at start up when there is no
argument (startUpArguments is empty).</p>
<p>In my bash start up script, if I add a dummy argument -toto it
does not break anymore.</p>
<p>The method source code shows no safe guard (any first) when
startUpArguments is #(''):</p>
<pre>processCommandLineArguments
../..
raiseExceptions _ false.
startUpScriptArguments _ #().
<b> optionIndex _ startUpArguments findFirst: [ :any | any first = $- ] startingAt: 1.</b>
</pre>
<p>In previous version of the method, a Stream was used to collect
the arguments.<br>
</p>
<p>Strangely the bug does not show up in the image I build for
development. May be related to the startup sequence I have in app
image. I can provide an archive of the app if it is helpful.<br>
</p>
<p>Thanks</p>
<p>Hilaire<br>
</p>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</body>
</html>