Learn R Programming

rstudioapi (version 0.14)

terminalExitCode: Terminal Exit Code

Description

Get exit code of terminal process, or NULL if still running.

Usage

terminalExitCode(id)

Value

The exit code as an integer vector, or NULL if process still running.

Arguments

id

The terminal id. The id is obtained from terminalList(), terminalVisible(), ,terminalCreate(), or terminalExecute().