<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>I have just discovered that, since Scilab 6.0.0, at least for
windows users (not tested on Linux), the scilex.exe scilab binary
file can be run with new undocumented options.<br>
Noticeably, the "--help" one, that shows a list. From a cmd.exe
shell:</p>
<p><font size="-1" color="#333333"><tt>>.\Scilab-6.0.2\bin\scilex
--help<br>
Usage: Scilab <options><br>
-e Instruction : execute the scilab instruction given
in Instruction argument.<br>
-e and -f arguments are mutually
exclusive.<br>
-f File : execute the scilab script given in
File argument.<br>
-e and -f arguments are mutually
exclusive.<br>
-quit : force scilab exit after execution of
script from -e or -f argument.<br>
this flag is ignored if it is not
used with -e or -f argument.<br>
-l lang : Change the language of scilab (
default : en_US ).<br>
-nw : Enable console mode.<br>
-nwni : Enable terminal mode.<br>
-ns : Don't execute etc/scilab.start.<br>
--help : Display this help.<br>
-scihome <dir> : Force SCIHOME to <dir>.<br>
Developer Trace arguments:<br>
--parse-trace : Display bison state machine
evolution.<br>
--AST-trace : Display ASCII-art AST to be human
readable.<br>
--pretty-print : Display pretty-printed code, standard
Scilab syntax.<br>
<br>
Developer Timer arguments:<br>
--AST-timed : Time each AST node.<br>
--timed : Time global execution.<br>
<br>
Developer Debug arguments:<br>
--no-exec : Only do Lexing/parsing do not execute
instructions.<br>
--context-dump : Display context status.<br>
--exec-verbose : Display command before running it.<br>
--timeout delay : Kill the Scilab process after a
delay.</tt></font></p>
<p>However, if i try to run this command from Scilab through a
unix_*() function, it returns nothing.<br>
Nothing in the Scilab session, nothing in the consolebox...:</p>
<p><font size="-1" color="#333333"><tt>-->
unix_w(WSCI+"\bin\scilex --help")<br>
--> [re,s,e] = unix_g(SCI+"\bin\scilex --help")<br>
e = <br>
<br>
s = <br>
0.<br>
<br>
re = <br>
[]</tt></font></p>
<p>There is no space in my WSCI path.<br>
This behavior looks like the <a moz-do-not-send="true"
href="http://bugzilla.scilab.org/show_bug.cgi?id=14143">bug
14143</a> reported for Linux, not confirmed for Windows, and
fixed in Scilab 6.0.2.<br>
<br>
Any confirmation or explanation would be welcome.<br>
Regards<br>
Samuel<br>
<br>
<font face="Arial"><br>
<br>
<br>
<br>
</font></p>
<p><font face="Arial"><br>
</font></p>
<p><font face="Arial"></font><br>
</p>
</body>
</html>