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

Jiří Techet techet at xxxxx
Thu Sep 10 09:12:10 UTC 2015


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).

Cheers,

Jiri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/users/attachments/20150910/c7683ad9/attachment.html>


More information about the Users mailing list