get_pid | R Documentation |
Returns a vector with the process ID (pid) for all processes with a particular name.
get_pid(process, exact = FALSE, ...)
process |
a character vector of process names. |
exact |
logical (FALSE). should we get exact match to process name, or can we use just partial matching. |
... |
not used. |
an integer vector with the process ID (pid) of the processes.
tasklist details from microsoft homepage: https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb491010(v=technet.10)
get_tasklist
, get_Rscript_PID
, get_pid
,
kill_pid
, kill_all_Rscript_s
, pskill
## Not run: get_pid("rsession") # finds it get_pid("rsession", exact = TRUE) # doesn't find it get_pid("rsession.exe", exact = TRUE) # finds it get_pid(c("wininit", "winlogon"), exact = TRUE) # doesn't find it get_pid(c("wininit", "winlogon")) # finds it ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.