all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: harven <harven@free.fr>
To: help-gnu-emacs@gnu.org
Subject: Re: running perl script in eshell on windows permission denied
Date: Sun, 09 Nov 2008 15:26:20 +0100	[thread overview]
Message-ID: <m263mxm0vn.fsf@free.fr> (raw)
In-Reply-To: m2d4h5m1a3.fsf@free.fr

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	other threads:[~2008-11-09 14:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-06 18:27 running perl script in eshell on windows permission denied shul
2008-11-06 21:16 ` Andreas Politz
2008-11-06 22:33   ` shul
2008-11-09 14:17     ` harven
2008-11-09 14:26       ` harven [this message]
2008-11-06 22:17 ` Chris McMahan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m263mxm0vn.fsf@free.fr \
    --to=harven@free.fr \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.