www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/05/05:59:25

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <2abc9c2d0806050258n18191f38i1188b0e9d83ed7ae@mail.gmail.com>
Date: Thu, 5 Jun 2008 10:58:10 +0100
From: "Blair Sutton" <blairuk AT googlemail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Re: Patch to allow Cron to use non-POSIX shells like Powershell.exe and CMD.exe
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Eric Blake <ebb9 AT byu DOT net> writes:

> Why should we patch a cygwin utility to promote the use of a non-cygwin shell?

To increase/improve productivity. To move along with the times.

No one can argue that Powershell isn't a good shell taking some of the
best features of many popular shells before it.

> Sending text files as application/octet-stream makes them harder to read in
> email.  Consider using a text MIME type instead.

> You should fix your mailer to not send duplicate copies of a message when
> writing to a text-only mailing list.

I just used GMails default. I'm not sure if I can do what you want.

> And what's wrong with doing this with what cron already provides:

> * * * * * /cygdrive/c/windows/system32/windowspowershell/v1.0/powershell -
> Command '"c:\documents and settings\blair sutton\my
> documents\windowspowershell\test\test.ps1" one two three'

This doesn't work. Have you tried? Also why not support any shell -
that's what Paul Vixie originally intended right?

> I'm not the cron maintainer, but I hope he doesn't bloat the code for this.

Four extra lines of code is bloat to you?

Perhaps you are being a little sensitive here don't you think?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019