<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body smarttemplateinserted="true" bgcolor="#FFFFFF" text="#000000">
<div id="smartTemplate4-quoteHeader"><font size="2">
Did you try executing the batch file manually?<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 class="moz-txt-link-rfc2396E" href="mailto:jpmelian@gmail.com"><jpmelian@gmail.com></a> <br>
<b>To:</b> Geany general discussion list
<a class="moz-txt-link-rfc2396E" href="mailto:users@lists.geany.org"><users@lists.geany.org></a> <br>
<b>Date:</b> Wed, 25 Sep 2013 09:56:00 +0200 <br>
</font></div>
<blockquote
cite="mid:CAGAmJ3gm048zmD1YS+W8=Wz1o2CQ=LaqJ7Cxd8EXC9vFLvWdYA@mail.gmail.com"
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 moz-do-not-send="true"
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 class="im">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 class="HOEnZb">
<div class="h5"><br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.geany.org" target="_blank">Users@lists.geany.org</a><br>
<a moz-do-not-send="true"
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 class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.geany.org">Users@lists.geany.org</a>
<a class="moz-txt-link-freetext" href="https://lists.geany.org/cgi-bin/mailman/listinfo/users">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<div id="smartTemplate4-template"> </div>
</body>
</html>