Status bar :

15:48:32: Esto es Geany 1.23.1.
15:48:32: Archivo C:\Users\mainuser\python_scripts\hello.py abierto(1)

Debug messages :

15:48:32: Geany INFO : Geany 1.23.1, Spanish_Spain.1252
15:48:32: Geany INFO : GTK 2.16.6, GLib 2.20.5
15:48:32: Geany INFO : System data dir: C:\Program Files (x86)\Geany\data
15:48:32: Geany INFO : User config dir: C:\Users\mainuser\AppData\Roaming\geany
15:48:32: Geany INFO : System plugin path: C:\Program Files (x86)\Geany\lib
15:48:32: Geany INFO : Added filetype Cython (55).
15:48:32: Geany INFO : Added filetype Genie (56).
15:48:32: Geany INFO : Added filetype Go (57).
15:48:32: Geany INFO : Added filetype Scala (58).
15:48:32: Geany INFO : C:\Users\mainuser\python_scripts\hello.py : Python (UTF-8)
15:48:32: Geany INFO : Loaded C:\Program Files (x86)\Geany\data\python.tags (Python), 5965 tag(s)

Regards.


2013/9/25 Lex Trotman <elextr@gmail.com>
Are there any messages in the status bar after the terminal window closes, or any in help->debug messages?

Cheers
Lex



On 25 September 2013 18:41, JPM <jpmelian@gmail.com> wrote:
Yes I did. A cmd window appears and it does not disappear.

-------------------------------------------------------------------------
C:\python_scripts>python "Hello_world.py"
Hello World

C:\python_scripts>pause
Presione una tecla para continuar . . .
-------------------------------------------------------------------------

The bat file works properly outside Geany.

Regards. 



2013/9/25 Johannes Lange <johannes.lange@rwth-aachen.de>
Did you try executing the batch file manually?


Cheers,
Johannes   

------------ Original Message ------------
Subject: Re: [Geany-Users] cmd window problem
From: JPM <jpmelian@gmail.com>
To: Geany general discussion list <users@lists.geany.org>
Date: Wed, 25 Sep 2013 09:56:00 +0200
Hi,

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.

The bat file content is :
---------------------------------------------------
python "Hello_world.py"

pause
del "%0"

pause
---------------------------------------------------

I think everything seem to be ok but the error persists.

Best regards.



2013/9/24 Matthew Brush <mbrush@codebrainz.ca>
On 13-09-24 06:15 AM, JPM wrote:
Hi,

With the execution command <pathTo>/python.exe "%f" the error persists.

As you say it is very weird.


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.

Just an idea.

Cheers,
Matthew Brush

_______________________________________________
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


 

_______________________________________________
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users