概要
システムパラメータ(標準入力や環境変数など)へのアクセスを提供する。詳細な仕様が定義されている訳ではないので、CommonJS実行系で実装が異なっている可能性がある。
この仕様により定義されるもの
stdin オブジェクト
get() メソッド
- 標準入力Streamを取得する。
set() メソッド
- 任意の標準入力Streamを設定する。(デフォルトのStreamと置き換える)
stdout オブジェクト
get() メソッド
- 標準出力Streamを取得する。
- デフォルトではTextStream(new Stream(System['in']))が返される。
set() メソッド
- 任意の標準入力Streamを設定する。
stderr オブジェクト
the standard error stream, an object with the same API as a file opened with the mode "w" with no encoding.
env オブジェクト
an Object containing posix-style or CGI environment variables.
args: