<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type></HEAD>
<BODY>
<DIV>
<DIV style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif">Exactly the same problem with my attempts to run emulator from Geany in a command line window.<BR><BR>Sent from Nokia Lumia 920</DIV></DIV>
<DIV dir=ltr>
<HR>
<SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">From: </SPAN><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif"><A href="mailto:jpmelian@gmail.com">JPM</A></SPAN><BR><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">Sent: </SPAN><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif">‎25.‎9.‎2013 11:42</SPAN><BR><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">To: </SPAN><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif"><A href="mailto:users@lists.geany.org">Geany general discussion list</A></SPAN><BR><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">Subject: </SPAN><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif">Re: [Geany-Users] cmd window problem</SPAN><BR><BR></DIV>
<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-SIZE: 12px; FONT-FAMILY: arial,sans-serif">\python_scripts>python "Hello_world.py"</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 12px; FONT-FAMILY: arial,sans-serif">Hello World</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 12px; FONT-FAMILY: arial,sans-serif"><BR></SPAN></DIV>
<DIV>C:<SPAN style="FONT-SIZE: 12px; FONT-FAMILY: arial,sans-serif">\python_scripts>pause</SPAN><SPAN style="FONT-SIZE: 12px; FONT-FAMILY: arial,sans-serif"><BR></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 12px; FONT-FAMILY: arial,sans-serif">Presione una tecla para continuar . . .</SPAN></DIV>
<DIV>-------------------------------------------------------------------------<SPAN style="FONT-SIZE: 12px; 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="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV bgcolor="#FFFFFF" text="#000000">
<DIV><FONT size=+0>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="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV>On 13-09-24 06:15 AM, JPM wrote:<BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">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></BODY></HTML>