<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    It works, thank you for your reactivity.<br>
    <br>
    Nevertheless, I think that being able to set this beaviour from the
    command line without having to modify the script would be a great
    functionnality for distributed execution of scilab.<br>
    <br>
    Cheers,<br>
    Rom<br>
    <br>
    Le 14/11/2011 12:13, jasper van baten a écrit :
    <blockquote cite="mid:4EC0F7CF.5000008@amsterchem.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Use <br>
      <br>
      errcatch(-1,'stop') <br>
      <br>
      Best wishes, <br>
      <br>
      Jasper.<br>
      <br>
      On 11/14/2011 12:08, Romain wrote:
      <blockquote cite="mid:4EC0F6A6.8080204@iscpif.fr" type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        For instance when a lanch a script with an error, I get:<br>
        <blockquote type="cite">[reuillon@zebulon coin]$
          ~/tmp/scilab-5.3.3/bin/scilab -nw -nogui -f Simul1.sci <br>
          java.lang.reflect.InvocationTargetException<br>
                  ___________________________________________      <br>
                                  scilab-5.3.3<br>
          <br>
                          Consortium Scilab (DIGITEO)<br>
                        Copyright (c) 1989-2011 (INRIA)<br>
                        Copyright (c) 1989-2007 (ENPC)<br>
                  ___________________________________________        <br>
           <br>
           <br>
          Startup execution:<br>
            loading initial environment<br>
          ee;<br>
            !--error 4 <br>
          Undefined variable: ee<br>
          <br>
          at line      26 of exec file called by :    <br>
          exec('SCI/etc/scilab.start',-1);;exec('Simul1.sci',-1)<br>
           <br>
           <br>
          --></blockquote>
        At the end, it displays a prompt and waits for the user to input
        something. The behaviour is similar with the -nwni option.<br>
        <br>
        Romain<br>
        <br>
        Le 14/11/2011 12:03, Adrien Vogt-Schilb a écrit :
        <blockquote cite="mid:4EC0F582.6000307@centre-cired.fr"
          type="cite">
          <meta content="text/html; charset=ISO-8859-1"
            http-equiv="Content-Type">
          Hi<br>
          <br>
          Do you have some command line prompting for user input, like
          "input" ?<br>
          <br>
          On 14/11/2011 12:01, Romain wrote:
          <blockquote cite="mid:4EC0F516.1050205@iscpif.fr" type="cite">Hi

            guys, <br>
            <br>
            I work on a software for distributed executions of
            simulation models (<a moz-do-not-send="true"
              class="moz-txt-link-abbreviated"
              href="http://www.openmole.org">www.openmole.org</a>). Some
            of our users are using scilab. In order to execute scilab on
            a computing grid we need to execute it in batch mode. I have
            tryed the option "-nw -nogui" and "-nwi" however when an
            error occurs durring the execution of the scilab script,
            scilab doesn't stop and is waiting for the user to react. Is
            there anyway of switching to a real batch mode where no
            interaction is ever requiered? <br>
            <br>
            Cheers, <br>
            Romain Reuillon <br>
            <br>
          </blockquote>
          <br>
          <br>
          <div class="moz-signature">-- <br>
            Adrien Vogt-Schilb (Cired) <br>
            Tel: (+33) 1 43 94 <b>73 77</b></div>
        </blockquote>
        <br>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>