[Geany-Users] cmd window problem
JPM
jpmelian at xxxxx
Wed Sep 25 08:41:02 UTC 2013
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 at 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 at gmail.com> <jpmelian at gmail.com>
> *To:* Geany general discussion list <users at lists.geany.org><users at 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 at 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 at lists.geany.org
>> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>>
>
>
>
> _______________________________________________
> Users mailing listUsers at lists.geany.orghttps://lists.geany.org/cgi-bin/mailman/listinfo/users
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/users/attachments/20130925/51f0dd56/attachment-0001.html>
More information about the Users
mailing list