terminalExitCode: Terminal Exit Code

View source: R/terminal.R

terminalExitCodeR Documentation

Terminal Exit Code

Description

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

Usage

terminalExitCode(id)

Arguments

id

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

Value

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

Note

The terminalExitCode function was added in version 1.1.350 of RStudio.


rstudioapi documentation built on Oct. 23, 2024, 1:07 a.m.