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 jpmelian@gmail.com *To:* Geany general discussion list users@lists.geany.orgusers@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 listUsers@lists.geany.orghttps://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users