[Geany-Users] run python script on mac OS X

François Couloigner fcouloigner at xxxxx
Thu Sep 10 12:13:20 UTC 2015


Thanks to all,

It works fine if i excute the run_script....sh in the VTE

I use python3 so i put python3 "%f" in Build ->Set build command

the terminal command in geany is /bin/bash

2015-09-10 12:49 GMT+02:00 Lex Trotman <elextr at gmail.com>:

> On 10 September 2015 at 19:12, Jiří Techet <techet at gmail.com> wrote:
> > On Thu, Sep 10, 2015 at 12:54 AM, Lex Trotman <elextr at gmail.com> wrote:
> >>
> >> On 10 September 2015 at 03:11, Jiří Techet <techet at gmail.com> wrote:
> >> > On Wed, Sep 9, 2015 at 5:04 PM, François Couloigner
> >> > <fcouloigner at gmail.com>
> >> > wrote:
> >> >>
> >> >> Hi,
> >> >>
> >> >> I use geany to run python script on ubuntu, windows or mac.
> >> >>
> >> >> On mac (yosemite) i can't run script (F5).
> >> >> In console i receive the message :
> >> >> "The file /bin/sh
> >> >>
> >> >>
> /var/folders/pk/lx2v4wjd765dhy6qqbpjhrgr0000gn/T/geany_run_script_SZMU4X.sh
> >> >> does not exist."
> >> >> or
> >> >> " The file /bin/sh /var/tmp/geany_run_script_4CJS4X.sh does not
> exist.
> >> >> "
> >> >> under admin user
> >> >>
> >> >> But the files exits
> >> >> What happens ?
> >> >>
> >> >
> >> > Strange, works for me. Does /bin/sh exist on your system and is it
> >> > executable? Try to execute it from Geany's terminal in case Geany
> can't
> >> > access it for some reason. To me the error message looks like /bin/sh
> >> > isn't
> >> > recognized as an executable and that
> >> >
> >> > /bin/sh
> >> >
> >> >
> /var/folders/pk/lx2v4wjd765dhy6qqbpjhrgr0000gn/T/geany_run_script_SZMU4X.sh
> >> >
> >> > is considered as a single path (within the "/bin/sh " subdirectory)
> >> > which
> >> > really doesn't exist. Did you set anything special under Build->Set
> >> > build
> >> > commands?
> >>
> >> Or did you set the terminal command to /bin/sh?
> >
> >
> > The /bin/sh is actually hard-coded for execution (see build.c:875) so I
> > think this isn't the problem. However on OS X /bin/sh isn't bash but
> still
> > even with sh it should work (and works on my machine).
>
> Oh, running in VTE?  Didn't see that specified :)
>
>
> >
> > Cheers,
> >
> > Jiri
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.geany.org
> > https://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/20150910/4c2966fa/attachment.html>


More information about the Users mailing list