This is the mail archive of the
cygwin
mailing list for the Cygwin project.
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?
Diego,
64-@@ which -a timeout # "using Cygwin"
/usr/bin/timeout
/drv/c/WINDOWS/system32/timeout
64-@@
Compare the definition of PATH after starting bash from the Explorer with the
definition of PATH after starting "using Cygwin".
Henri
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple