View Single Post

   
  #3 (permalink)  
Old 02-07-2008, 02:28 PM
Bob Martin
 
Posts: n/a
Default Re: Nautilus scripts

in 448685 20080205 135947 Bill Marcum <marcumbill@bellsouth.net> wrote:
>On 2008-02-05, Bob Martin <bob.martin@excite.com> wrote:
>>
>>
>>
>> All the docs say that Nautilus scripts can be written in any scripting
>> language, but this does not appear to be true - I think there is a
>> list of allowed languages.
>>
>> If the first line of my script is #!/bin/bash then nautilus identifies
>> it as a shell script; if the first line is #!/usr/bin/python then it's
>> identified as a python script; but if the first line is
>> #!/usr/bin/rexx then nautilus ignores it.
>>
>> Is there an editable list of valid programs?

>
>Is there a difference between a nautilus script and a script run from a
>shell prompt?
>Normally the kernel reads the #! line, and any interpreter should be
>allowed if it and the script have execute permission. What happens if
>you try to run a script with #!/usr/bin/rexx?


They work fine, I have hundreds of Rexx programs.
Nautilus is obviously reading the first line and deciding it doesn't like it.
Reply With Quote