next up previous contents
Next: Time Up: System Functions and Variables Previous: System commands

TimedCallSystem

Calling Sequences:
TimedCallSystem(
cmd)
TimedCallSystem(
cmd, timeout)
Parameters:
cmd : string
timeout : {0, posint}

Returns: list

Synopsis: The System passes the argument cmd to the underlying operating system. If the optional timeout argument is specified, Darwin waits for time seconds. If a time out occurs, it returns [-1, (Timeout)], otherwise it returns a list consisting of the value returned by the operating system and the output generated by cmd.

Examples:

> TimedCallSystem('finger hallett@inf.ethz.ch', 20);




Gaston Gonnet
1998-09-15