witwall / sleep

sleep is a command-line app for Windows that waits a set amount of time before exiting.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sleep

About sleep

The sleep command is used to delay for a specified amount of time.

Syntax

sleep.exe NUMBER[SUFFIX] ...
sleep.exe [OPTION]

Description

The sleep command pauses for an amount of time defined by NUMBER.

SUFFIX may be "s" for seconds, "m" for minutes, "h" for hours, or "d" for days.

if no suffix, means milliseconds.

If more than one NUMBER is specified, sleep delays for the sum of their values.

Options

Option Description
--help Display a help message, and exit.
--version Display version information, and exit.

Examples

sleep 10

Delays for 10 milliseconds.

Remark

The program is written in C and compiled with MinGW32 to avoid any dependencies on Visual Studio. It's also free, and open source.

About

sleep is a command-line app for Windows that waits a set amount of time before exiting.


Languages

Language:C 100.0%