Used with the read from file command to designate the standard input.
# Metadata
Platforms: desktop, server OS: mac, windows, linux Introduced: 1.0 Security:
# Syntax
stdin
# Examples
read from stdin until EOF
# Description
On Unix systems, input to a program is normally read from the keyboard, but can be redirected to come from another device, process or file. This redirection is done on the command line when the program is started up.
On a server in CGI mode, stdin is assumed to contain post data, and reading from it prevents the engine's automatic processing of such information.
When you use the read from file command with the stdin keyword, LiveCode reads data from the standard input.
Support for using stdin on Server was added in version 4.6.3.
# Tags
# See
- **command:** read from process, read from file - **glossary:** keyword, command, standard input, OS X - **keyword:** stderr, stdout