<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    is it maybe possible to concatenate commands using "&&"<br>
    something like<br>
    <br>
    d.mon ... && d.vect ...<br>
    <br>
    this should work in bash, don't know in DOS ... <br>
    <br>
    <div class="moz-cite-prefix">Il 27/08/2014 22:42, Zoltan ha scritto:<br>
    </div>
    <blockquote cite="mid:53FE42D3.4090102@sonic.net" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      <font face="Trebuchet MS">Hi,<br>
        <br>
        I'm new to GRASS and am running on a 64-bit Windows-7 OS. The
        app is working quite well for me overall but I'm having one
        issue with timing on the GRASS window. I kind of suspect there's
        no fix for this but I'll ask anyway.<br>
        <br>
        I am launching GRASS from a batch file with the GRASS_BATCH_JOB
        variable set. The batch job just calls g.parser on a text file,
        like this:<br>
        <br>
            "C:\ProgramFiles\GRASS\bin\g.parser.exe" cmds.txt <br>
        <br>
        The cmds.txt file looks roughly like this:<br>
        <br>
            g.region ... parms ...<br>
            d.mon start=wx0 width=1700 height=1000<br>
            ...some v.proj commands...<br>
            d.vect map=...one of the maps...<br>
            d.vect ...a few more d.vect commands...<br>
        <br>
        The problem I'm having is this: If the actual display window is
        not visible when the d.vect commands run, the graphics fail to
        draw properly and I also get errors in some cases.<br>
        <br>
        If I wait for the display window to appear on the monitor before
        running the d.vect commands, all is well. This seems
        logical...something about the display object is not fully
        initialized when the d.vect commands run so things don't work.<br>
        <br>
        I do have a workaround, which is just to insert a sleep
        statement to give the window time to initialize but it needs to
        be rather long and it would be nice if there were some other way
        to wait for window initialization.<br>
        <br>
        Is there already a way to do this, or would that be an
        enhancement request?<br>
        <br>
        Again, thanks for the great app, and thanks in advance if you
        can help on this question!<br>
        <br>
            Zoltan<br>
        <br>
        <br>
      </font> <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a></pre>
    </blockquote>
    <br>
  </body>
</html>