Fri Nov 20 17:25:00 GMT 2009
On 13/11/2009 02:27, Charles Wilson wrote:
> Jon TURNEY wrote:
>> But why would you fix the timeout problem by doing some horrible
>> horrible iteration in the DOS batch script (horrible) (which would
>> probably have to busy-wait (also horrible) as there's no sleep command),
>> when you can fix checkX, which has the bonus of fixing other uses of it?
> I actually wrote a version of this. It IS horrible -- but no need for a
> busywait, I used the "ping trick":
> C:\windows\system32\ping -n 2 127.0.0.1>nul
> "sleeps" for (n-1)==1 seconds.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin-xfree