Re: Problem with timeout command from bash
- Date: Mon, 19 Feb 2018 16:45:21 +0100
- From: Houder <houder@xxxxxxxxx>
- Subject: Re: Problem with timeout command from bash
On Mon, 19 Feb 2018 15:32:28, Diego Pazos wrote:
> Whenever I try to run the timeout command from bash, it appears like it's b=
> eing relayed to cmd.exe's internal timeout command.
> Attempting to run "timeout 123 ls" from bash throws:
> ERROR: Invalid syntax. Default option is not allowed more than '1' time(s).
> Type "TIMEOUT /?" for usage.
> Running the same command from the Cygwin command prompt works as expected.
> Am I doing anything wrong?
64-@@ which -a timeout # "using Cygwin"
Compare the definition of PATH after starting bash from the Explorer with the
definition of PATH after starting "using Cygwin".
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple