[Geany-Users] cmd window problem

JPM jpmelian at xxxxx
Tue Sep 24 13:15:37 UTC 2013


Hi,

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

As you say it is very weird.

Thank you very much for your help.

Salu2.


2013/9/24 Johannes Lange <johannes.lange at rwth-aachen.de>

>  That's strange then...
> 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).
> Maybe you try  <pathTo>/python.exe "%f" as command. If that doesn't work,
> it's some other issue I don't know.
>
> 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:* Tue, 24 Sep 2013 14:16:54 +0200
>
> Hi,
>
>  In commandline :
>
>  python.exe <path to>\<myscript>.py  --> It works
> python <path to>\<myscript>.py  --> It works
>
>  The path to Python directory already was included in PATH environment
> variable
>
>  I changed the Geany execution command from  python "%f"  to  python.exe
> "%f"
> and the error still continues.
>
>  Regards,
>
>
> 2013/9/24 Johannes Lange <johannes.lange at rwth-aachen.de>
>
>>  Ok, then maybe the execution just fails.
>> Have you tried the script on a command line manually?
>> As I come to think of it: on Windows in your execution command it should
>> be python.exe, not just python.
>> And then it could be, that it's not properly set in path, too.
>>
>> So try on commandline first:
>> python.exe <yourscript>.py
>>
>> and if that does not work, do
>> <path to>/python.exe <yourscript>.py
>>
>>
>>
>> ------------ *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:* Tue, 24 Sep 2013 11:28:02 +0200
>>
>>  Hi,
>>
>>  I mean the console window appear and disappear 0.1 second after and
>> I can not see any output.
>>
>>  I think the console window should remain open.
>>
>>  The python program only has one print line ( print "Hello world" ).
>>
>>  Regards.
>>
>>
>> 2013/9/24 Johannes Lange <johannes.lange at rwth-aachen.de>
>>
>>>  Ok, if that works, your path should be set properly.
>>> What do you mean by "little while" exactly? Does it produce output?
>>>
>>> Normally it would look like
>>> <output here>
>>> Press any key to continue...
>>>
>>>
>>>  ------------ *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:* Tue, 24 Sep 2013 09:14:07 +0200
>>>
>>> Hello,
>>>
>>>  The execution command is python "%f"
>>>
>>>  Regards.
>>>
>>>
>>> 2013/9/24 Johannes Lange <johannes.lange at rwth-aachen.de>
>>>
>>>>  Hi,
>>>>
>>>> ok and what's configured as execution command? (Click on Build, Set
>>>> Build Commands)
>>>>
>>>> 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:* Tue, 24 Sep 2013 08:30:06 +0200
>>>>
>>>> Hi Johannes,
>>>>
>>>>  I mean when I click on the execute button inside Geany window.
>>>>
>>>>  Best regards.
>>>>
>>>>
>>>> 2013/9/24 Johannes Lange <johannes.lange at rwth-aachen.de>
>>>>
>>>>>  Hi,
>>>>>
>>>>> how do you run python or what's your run-command?
>>>>>
>>>>> Regards,
>>>>> Johannes Lange
>>>>>
>>>>> ------------ *Original Message* ------------
>>>>> *Subject:* [Geany-Users] cmd window problem
>>>>> *From:* JPM <jpmelian at gmail.com> <jpmelian at gmail.com>
>>>>> *To:* users at lists.geany.org
>>>>> *Date:* Tue, 24 Sep 2013 08:02:44 +0200
>>>>>
>>>>>  Hi,
>>>>>
>>>>>  I have installed Geany in Windows 7 64b.
>>>>>
>>>>>  When I run a Python program cmd window appears only for a little
>>>>> while.
>>>>>
>>>>>  Any idea what is happening ?
>>>>>
>>>>>  Thanks in advance.
>>>>>
>>>>>
>>>>>  _______________________________________________
>>>>> 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
>>>>>
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
>
> _______________________________________________
> 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/20130924/c1ab3827/attachment-0001.html>


More information about the Users mailing list