<div dir="ltr">Hi,<div><br></div><div><span style="font-family:arial,sans-serif">With the execution command <pathTo>/python.exe "%f" the error </span><font face="arial, sans-serif">persists</font><span style="font-family:arial,sans-serif">.</span></div>
<div><span style="font-family:arial,sans-serif"><br></span></div><div><span style="font-family:arial,sans-serif">As you say it is very weird.</span></div><div><span style="font-family:arial,sans-serif"><br></span></div><div>
<span style="font-family:arial,sans-serif">Thank you very much for your help.</span></div><div><br></div><div>Salu2.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/24 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>That's strange
then...<br>
I don't know much about PATH in Windows and if it's correctly
loaded by geany (but as it's a batch file, it should).<br>
Maybe you try </font><font><font face="arial,
sans-serif"><pathTo>/python.exe "%f" as command. If that
doesn't work, it's some other issue I don't know.<br>
<br>
Cheers,<br>
Johannes </font></font><br>
<font><div class="im"><font face="arial, sans-serif"></font>------------
<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> Tue, 24 Sep 2013 14:16:54 +0200 <br>
</div></div></font></div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>In commandline :</div>
<div><br>
</div>
<div><span style="font-family:arial,sans-serif">python.exe </span><span style="font-family:arial,sans-serif"><path to>\</span><span style="font-family:arial,sans-serif"><myscript>.py
--> It works</span></div>
<div><span style="font-family:arial,sans-serif">python </span><span style="font-family:arial,sans-serif"><path to>\</span><span style="font-family:arial,sans-serif"><myscript>.py
--> It works</span><span style="font-family:arial,sans-serif"><br>
</span></div>
<div><span style="font-family:arial,sans-serif"><br>
</span></div>
<div><font face="arial, sans-serif">The path to Python directory
already was included in PATH environment variable</font></div>
<div><font face="arial, sans-serif"><br>
</font></div>
<div><font face="arial, sans-serif">I changed the Geany
execution command from </font><span style="font-family:arial,sans-serif">python "%f" to </span><font face="arial, sans-serif">python.exe "%f"</font></div>
<div><font face="arial, sans-serif">and </font><span style="font-family:arial,sans-serif">the error still
continues.</span></div>
<div><font face="arial, sans-serif"><br>
</font></div>
<div>Regards,<br>
</div>
<div class="gmail_extra">
<br>
<br>
<div class="gmail_quote">2013/9/24 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div><font> Ok, then maybe the execution just fails.<br>
Have you tried the script on a command line
manually?<br>
As I come to think of it: on Windows in your
execution command it should be python.exe, not just
python.<br>
And then it could be, that it's not properly set in
path, too.<br>
<br>
So try on commandline first:<br>
python.exe <yourscript>.py<br>
<br>
and if that does not work, do<br>
<path to>/python.exe <yourscript>.py
<div><br>
<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><b>Date:</b> Tue, 24 Sep 2013
11:28:02 +0200 <br>
</div>
</div>
</font></div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
I mean the console window appear and disappear
0.1 second after and
<div>I can not see any output.
<div><br>
</div>
<div>I think the console window should remain
open.<br>
<div><br>
</div>
<div>The python program only has one print
line ( print "Hello world" ).</div>
<div><br>
</div>
<div>Regards.</div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/9/24 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div><font>Ok,</font><font> if that works,
your path should be set properly.<br>
What do you mean by "little while"
exactly? Does it produce output?<br>
<br>
Normally it would look like<br>
<font><output here><br>
Press any key to continue...<br>
<br>
<br>
</font>
<div>------------ <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><b>Date:</b> Tue, 24 Sep 2013
09:14:07 +0200 <br>
</div>
</div>
</font></div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr">Hello,
<div><br>
</div>
<div>The execution command
is python "%f"</div>
<div><br>
</div>
<div>Regards.</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/9/24
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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div><font> Hi,<br>
<br>
ok and what's configured
as execution command?
(Click on Build, Set
Build Commands)<br>
<br>
Cheers,<br>
Johannes </font><br>
<font>
<div><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>
</div>
<div>
<div><b>To:</b> Geany
general discussion
list <a href="mailto:users@lists.geany.org" target="_blank"><users@lists.geany.org></a>
<br>
<b>Date:</b> Tue, 24
Sep 2013 08:30:06
+0200 <br>
</div>
</div>
</font></div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr">Hi <span style="font-family:arial,sans-serif">Johannes,</span>
<div><span style="font-family:arial,sans-serif"><br>
</span></div>
<div><span style="font-family:arial,sans-serif">I
mean when I
click on the
execute button
inside Geany
window.</span></div>
<div><span style="font-family:arial,sans-serif"><br>
</span></div>
<div><span style="font-family:arial,sans-serif">Best
regards.</span></div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/9/24
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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div><font>Hi,<br>
<br>
how do you run
python or
what's your
run-command?<br>
<br>
Regards,<br>
Johannes
Lange <br>
<div>
<div> <br>
------------ <i>Original
Message</i>
------------ <br>
<b>Subject:</b>
[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> <a href="mailto:users@lists.geany.org" target="_blank">users@lists.geany.org</a>
<br>
<b>Date:</b>
Tue, 24 Sep
2013 08:02:44
+0200 <br>
</div>
</div>
</font></div>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">Hi,
<div><br>
</div>
<div>I have
installed
Geany in
Windows 7 64b.</div>
<div><br>
</div>
<div>When I
run a Python
program cmd
window appears
only for a
little while.</div>
<div><br>
</div>
<div>Any idea
what is
happening ?<br>
<div><br>
</div>
<div>Thanks in
advance.</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<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>
<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>
<br>
</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" 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>
<br>
</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" 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>
<br>
</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" 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>
<br>
</blockquote>
</div>
<br>
</div>
</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>