Get exit code of terminal process, or NULL if still running.
terminalExitCode(id)
The terminal id. The id
is obtained from
terminalList()
, terminalVisible()
,
,terminalCreate()
, or terminalExecute()
.
The exit code as an integer vector, or NULL if process still running.
The terminalExitCode
function was added in version 1.1.350 of
RStudio.