Web lists-archives.com

Problem with timeout command from bash

Whenever I try to run the timeout command from bash, it appears like it's being 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?

Thanks in advance.

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