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: Diomidis Spinellis
Subject: Re: sh: -c: option requires an argument on Cygwin
Date: Thu, 5 Mar 2020 19:47:57 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

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]