<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div>Thanks for your response Matthew. I think I will just run from the CLI.</div><div>I am still getting errors when running cmds via Geany.</div><div><br></div><div>I did change it to an executable but that didn't work. Linux did not recognize it as a command</div><div>when launched using only the file name, even with the 'shebang' in the script.</div><div><br></div><div>I tried your other idea about putting what works into the CLI into Geany but I still got "permission denied" <br></div><div>error. Although I am not getting anything done, I am learning alot. : )</div><div><br></div><div>Well now on to see if I can get syntax highlighting working along with auto complete. Wish me <br></div><div>luck. Thanks again.</div><div><br></div><div>Joe McCarron<br></div><div><br></div><div><br></div>
            <div><br></div><div><br></div>
            
            <div id="ydpbd66e802yahoo_quoted_7231729972" class="ydpbd66e802yahoo_quoted">
                <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                    
                    <div>
                        On Tuesday, May 22, 2018, 3:25:36 PM EDT, Matthew Brush <mbrush@codebrainz.ca> wrote:
                    </div>
                    <div><br></div>
                    <div><br></div>
                    <div><div dir="ltr">On 2018-05-22 08:22 AM, Joe McCarron via Users wrote:<br clear="none">> Hello folks,I am using Linux mint with Geany 1.27<br clear="none">> <br clear="none">> I get this error when running a command from Build->Set Build Commands/tmp/geany_run_script_KH9HJZ.sh: 7: /tmp/geany_run_script_KH9HJZ.sh: /home/joe/pythonbuild.py: Permission denied<br clear="none">> when i run from the command line it works. Here is what I put on the command line.python pythonbuild.py dev/Arduino/sample/sample.ino<br clear="none">> <br clear="none">> The set Build Command in Geany is:   /home/joe/pythonbuild.py<br clear="none">> I get the erro above when this is exectuted from Geany<br clear="none">> It looks like Geany runs a script from the tmp directory to run my py script.<br clear="none">> I just switched from windows to linux so that could be part of my problem.<br clear="none">> thanksJoe<br clear="none">> <br clear="none"><br clear="none">Hi,<br clear="none"><br clear="none">You probably have to mark the script executable and put a "shebang" in <br clear="none">it. Unlike Windows, Linux doesn't go by file extension, a script has to <br clear="none">be made executable (ex `chmod +x yourscript.py` or from your file <br clear="none">manager) and the first line tells which interpreter to use (ex. <br clear="none">`#!/usr/bin/env python`).<br clear="none"><br clear="none">Alternatively, you could just change your build command in Geany to run <br clear="none">the script using Python like what you ran on the command line, so it <br clear="none">doesn't need to be executable or have a shebang line. Just put `python <br clear="none">/home/joe/pythonbuild.py` in the build command.<br clear="none"><br clear="none">Regards,<br clear="none">Matthew Brush<div class="ydpbd66e802yqt9506894080" id="ydpbd66e802yqtfd05416"><br clear="none"><br clear="none">_______________________________________________<br clear="none">Users mailing list<br clear="none"><a shape="rect" href="mailto:Users@lists.geany.org" rel="nofollow" target="_blank">Users@lists.geany.org</a><br clear="none"><a shape="rect" href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="nofollow" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a><br clear="none"></div></div></div>
                </div>
            </div></div></body></html>