Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion R/on-load.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
## because in a Docker container (maybe elsewhere as well?) on
## Linux it can change (!).
## See https://github.com/r-lib/processx/issues/258
if (ps::ps_is_supported()) {
## We don't do it on macOS, because it breaks codex
## https://github.com/r-lib/processx/pull/401
if (is_linux() && ps::ps_is_supported()) {
ps::ps_handle()
bt <- ps::ps_boot_time()
.Call(c_processx__set_boot_time, bt)
Expand Down
Loading