parallel
[Top][All Lists]
Advanced

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

Re: sh: -c: option requires an argument on Cygwin


From: Geoffrey Cleaves
Subject: Re: sh: -c: option requires an argument on Cygwin
Date: Thu, 5 Mar 2020 19:58:48 +0200

Maybe the problem is that I'm using a *newer* version?

$ uname
CYGWIN_NT-10.0


I'll try your version and report back.

On Thu, Mar 5, 2020 at 7:47 PM Diomidis Spinellis <address@hidden> wrote:
I cannot replicate the problem in Cygwin 0.8.1

$ parallel -k echo ::: A B C
parallel: Warning: $SHELL not set. Using /bin/sh.
A
B
C
$ SHELL=/bin/bash parallel -k echo ::: A B C
A
B
C
$ SHELL=/bin/sh parallel -k echo ::: A B C
A
B
C

Could you be using a non-standard shell or an older version of Cygwin?

--
Diomidis Spinellis
Free edX MOOC on Unix Tools: Data, Software, and Production Engineering
https://www.spinellis.gr/unix?pgo20200305

On 05-Mar-20 18:43, Geoffrey Cleaves wrote:
> Hello, I have been an avid user of parallel on Mac OS and Linux over the
> last 5 years. But I now find myself using Windows with the following
> problem when trying to run parallel in Cygwin.
>
> $ parallel -k echo ::: A B C
> sh: -c: option requires an argument
> sh: -c: option requires an argument
> ... never stops
>
> $ parallel --version , however, works just fine.
>
> Any tips on how to fix this?

reply via email to

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