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:17:40 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin)

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.


reply via email to

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