help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: running perl script in eshell on windows permission denied


From: harven
Subject: Re: running perl script in eshell on windows permission denied
Date: Sun, 09 Nov 2008 15:26:20 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin)

harven <harven@free.fr> writes:

> shul <meshulum@gmail.com> writes:
>
>> Andreas Politz wrote:
>>
>>> > OK. So what can I do to execute some perl scripts from eshell?
>>> > I like eshell. It is so unix like...
>>> > Thanks
>>> > Mitchell
>>>
>>> The least you could try is
>>>
>>> $ perl me.pl
>>>
>>> ,but I guess there has to be a win32 equivalent to the unix chmod
>>> command. But I don't know such things.
>>
>> Yes!
>>
>> perl me.pl
>> works, which solves the real problem!
>>
>> however i am still curious why the eshell environment creates a
>> 'execute protection' that does
>> not exist in the native windows environment in the cmd.exe shell.
>> after all me.pl runs
>> in the cmd.exe shell and under M^X shell
>>
>> I guess it may be
>> a carryover secondary to the universality of eshell, but it seems
>> strange, since there seems
>> to be no chmod command here..
>>
>> thanks.
>
> The following function may be of some help here:
> executable-make-buffer-file-executable-if-script-p
> Don't know if it works in your environment though.

There is also a command called executable-chmod in perl-mode.
Hope that helps.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]