Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ps_terminal

Terminal device of the process


Description

Returns the terminal of the process. Not implemented on Windows, always returns NA_character_. On Unix it returns NA_character_ if the process has no terminal.

Usage

ps_terminal(p = ps_handle())

Arguments

p

Process handle.

Details

Works for zombie processes.

Value

Character scalar.

See Also

Examples

p <- ps_handle()
p
ps_terminal(p)

ps

List, Query, Manipulate System Processes

v1.6.0
MIT + file LICENSE
Authors
Jay Loden [aut], Dave Daeschler [aut], Giampaolo Rodola' [aut], Gábor Csárdi [aut, cre], RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.