Macaulay2 » Documentation
Packages » Macaulay2Doc :: openInOut
next | previous | forward | backward | up | index | toc

openInOut -- open an input output file

Synopsis

Description

There are various options for the argument f.

In order to open a socket successfully, there must be a process accepting connections for the desired service on the specified host.

The various forms listed above can be used also with all other input output operations that open files, such as openIn, openOut, get, and <<, with data transfer possible only in the direction specified. A possibly confusing asymmetry is that with openIn "!foo" or with get "!foo" the standard input of the command foo is closed, but with openOut "!foo" the standard output of the command foo is connected to the standard output of the parent Macaulay2 process.

See also

Ways to use openInOut :

For the programmer

The object openInOut is a compiled function.