Re: How to sleep?

From: David Fox <>
Date: Thu, 29 Sep 94 00:07:27 -0400

Grant Edwards writes:

> How do I do the equivalent of the unix system call sleep(howManySeconds)?

I'm guessing, so I can be corrected, but how about

  (define (sleep seconds)
    (system (string-append "sleep ") (number->string seconds)))

What I've been wondering is where is the tcl "exec" function is,
the one that returns a command's output in a string. I wrote
a replacement that uses a temporary file, but is there something
I'm missing something?
Received on Thu Sep 29 1994 - 05:08:16 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST