<div dir="ltr">Yes I did. A cmd window appears and it does not disappear.<div><br></div><div>-------------------------------------------------------------------------</div><div>C:<span style="font-family:arial,sans-serif;font-size:12.800000190734863px">\python_scripts>python "Hello_world.py"</span></div>

<div><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">Hello World</span></div><div><span style="font-family:arial,sans-serif;font-size:12.800000190734863px"><br></span></div><div>C:<span style="font-size:12.800000190734863px;font-family:arial,sans-serif">\python_scripts>pause</span><span style="font-family:arial,sans-serif;font-size:12.800000190734863px"><br>

</span></div><div><span style="font-size:12.800000190734863px;font-family:arial,sans-serif">Presione una tecla para continuar . . .</span></div><div>-------------------------------------------------------------------------<span style="font-size:12.800000190734863px;font-family:arial,sans-serif"><br>

</span></div><div><br></div><div>The bat file works properly outside Geany.</div><div><br></div><div>Regards. </div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/25 Johannes Lange <span dir="ltr"><<a href="mailto:johannes.lange@rwth-aachen.de" target="_blank">johannes.lange@rwth-aachen.de</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div><font>
        Did you try executing the batch file manually?<div class="im"><br>
        <br>
        Cheers,<br>
        Johannes    <br>
        <br>
        ------------ <i>Original Message</i> ------------ <br>
        <b>Subject:</b> Re: [Geany-Users] cmd window problem <br>
        <b>From:</b> JPM <a href="mailto:jpmelian@gmail.com" target="_blank"><jpmelian@gmail.com></a> <br>
        <b>To:</b> Geany general discussion list
        <a href="mailto:users@lists.geany.org" target="_blank"><users@lists.geany.org></a> <br>
        </div><div><div class="h5"><b>Date:</b> Wed, 25 Sep 2013 09:56:00 +0200 <br>
      </div></div></font></div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">
        <div>Hi,</div>
        <div><br>
        </div>
        The script Hello_world.py is located in C:\python_scripts. In
        this directory there are three files : Hello_world.py
        , Hello_world.pyc and geany_run_script.bat.
        <div><br>
        </div>
        <div>
          The bat file content is :</div>
        <div>---------------------------------------------------<br>
        </div>
        <div>
          <div>python "Hello_world.py"</div>
          <div><br>
          </div>
          <div>pause</div>
          <div>del "%0"</div>
          <div><br>
          </div>
          <div>pause</div>
        </div>
        <div>---------------------------------------------------<br>
        </div>
        <div><br>
        </div>
        <div>I think everything seem to be ok but the error persists.</div>
        <div><br>
        </div>
        <div>Best regards.</div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">2013/9/24 Matthew Brush <span dir="ltr"><<a href="mailto:mbrush@codebrainz.ca" target="_blank">mbrush@codebrainz.ca</a>></span><br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div>On 13-09-24 06:15 AM, JPM wrote:<br>
              <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                Hi,<br>
                <br>
                With the execution command <pathTo>/python.exe
                "%f" the error persists.<br>
                <br>
                As you say it is very weird.<br>
                <br>
              </blockquote>
              <br>
            </div>
            Where is your script located? I think Geany writes the
            runner script to the same directory as the script, which may
            not work as expected if the file is in some weird place like
            a directory you don't have proper permissions in (ex.
            outside of your home folder), a shared drive, a mounted FTP
            drive, etc. When I try to Execute such a script with Geany
            it places an error message in the Status tab and the status
            bar.<br>
            <br>
            Just an idea.<br>
            <br>
            Cheers,<br>
            Matthew Brush
            <div>
              <div><br>
                _______________________________________________<br>
                Users mailing list<br>
                <a href="mailto:Users@lists.geany.org" target="_blank">Users@lists.geany.org</a><br>
                <a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.geany.org" target="_blank">Users@lists.geany.org</a>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
    <br>
    <div> </div>
  </div></div></div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.geany.org">Users@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>