<div dir="ltr">On Thu, Sep 10, 2015 at 12:54 AM, Lex Trotman <span dir="ltr"><<a href="mailto:elextr@gmail.com" target="_blank">elextr@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 10 September 2015 at 03:11, Jiří Techet <<a href="mailto:techet@gmail.com">techet@gmail.com</a>> wrote:<br>
> On Wed, Sep 9, 2015 at 5:04 PM, François Couloigner <<a href="mailto:fcouloigner@gmail.com">fcouloigner@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> I use geany to run python script on ubuntu, windows or mac.<br>
>><br>
>> On mac (yosemite) i can't run script (F5).<br>
>> In console i receive the message :<br>
>> "The file /bin/sh<br>
>> /var/folders/pk/lx2v4wjd765dhy6qqbpjhrgr0000gn/T/geany_run_script_SZMU4X.sh<br>
>> does not exist."<br>
>> or<br>
>> " The file /bin/sh /var/tmp/geany_run_script_4CJS4X.sh does not exist. "<br>
>> under admin user<br>
>><br>
>> But the files exits<br>
>> What happens ?<br>
>><br>
><br>
> Strange, works for me. Does /bin/sh exist on your system and is it<br>
> executable? Try to execute it from Geany's terminal in case Geany can't<br>
> access it for some reason. To me the error message looks like /bin/sh isn't<br>
> recognized as an executable and that<br>
><br>
> /bin/sh<br>
> /var/folders/pk/lx2v4wjd765dhy6qqbpjhrgr0000gn/T/geany_run_script_SZMU4X.sh<br>
><br>
> is considered as a single path (within the "/bin/sh " subdirectory) which<br>
> really doesn't exist. Did you set anything special under Build->Set build<br>
> commands?<br>
<br>
</span>Or did you set the terminal command to /bin/sh?<br></blockquote><div><br></div><div>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).</div><div><br></div><div>Cheers,</div><div><br></div><div>Jiri</div></div></div></div>