The NetBSD Project

CVS log for pkgsrc/sysutils/R-processx/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / R-processx

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Sep 29 06:07:28 2026 UTC (6 weeks, 5 days ago) by wiz
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
*: recursive bump for pcre2 10.49

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Sep 27 11:38:30 2026 UTC (7 weeks ago) by tnn
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
*: revbump for pcre2 symbol versioning change

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Sep 2 19:04:22 2026 UTC (2 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -1 lines
*: recursive bump for pcre2 10.48

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Jun 8 14:38:49 2026 UTC (5 months, 1 week ago) by mef
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -4 lines
(sysutils/R-processx) Updated 3.8.5 to 3.9.0

# processx 3.9.0

* New experimental `pipeline` R6 class for running two or more processes
  connected by kernel-level pipes, like a Unix shell pipeline
  (`cmd1 | cmd2 | cmd3`). Data flows directly between child processes
  without passing through R. Works on Unix and Windows (#280).

* New "Process cleanup" article.

* New `linux_pdeathsig` argument to `process$new()`: on Linux, the child
  process receives the specified signal when the parent R process exits.
  Set to `TRUE` for `SIGTERM`, or pass an integer signal number directly
  (e.g. `tools::SIGKILL`). Ignored on non-Linux platforms (#36).

* New `process$get_end_time()` method returns the time when the process
  exited as a `POSIXct`, or `NULL` if it is still running (#218).

* `process$new()` and `run()` now support `pty = TRUE` on Windows 10 version
  1809 and later, in addition to Unix. The Windows implementation uses the
  ConPTY API (`CreatePseudoConsole`). The API is loaded dynamically so
  processx continues to load on older Windows and emits a clear error if
  `pty = TRUE` is requested on an unsupported version (#231).

* `run()` now supports `pty = TRUE` and `pty_options` to run a process in a
  pseudo-terminal (PTY) on Unix and Windows (see above). This causes the
  child to see a real terminal, so programs that disable colour output or
  interactive behaviour when not attached to a terminal will behave as if
  they are. `stderr` is merged into `stdout` (the result's `$stderr` is
  always `NULL`). A file-based `stdin` argument is also supported: its
  contents are fed to the process via the PTY master, followed by an EOF
  signal (#230).

* `process$new()` now supports `">>"` as a prefix for `stdout` and `stderr`
  file paths (e.g. `stdout = ">>output.log"`), which appends output to the
  file instead of truncating it. The file is created if it does not exist (#403).

* `env = "current"` now works correctly as a standalone value, inheriting
  the full environment of the current process (#399).

* `run()` and `process$new()` now support `encoding = "binary"` to capture
  binary output. In this mode `run()` returns `stdout` and `stderr` as raw
  vectors, and `process$read_output()` / `process$read_error()` return raw
  vectors instead of character strings. All bytes are preserved exactly,
  including null bytes and non-UTF-8 byte sequences (#406).

* New `process$read_output_bytes()`, `process$read_error_bytes()` methods
  and `conn_read_bytes()` function for reading raw bytes from a processx
  connection directly (#406).

* On Linux, `process$get_start_time()` now returns the correct wall-clock
  start time. Previously it was systematically ~0.3–0.5 s too early because
  the boot time was read from `/proc/stat btime`, which is truncated to whole
  seconds. processx now derives the boot time from
  `CLOCK_REALTIME − CLOCK_MONOTONIC`, which has nanosecond precision. The
  ps package is updated in tandem to accept handles created by either the old
  or the new method, so new ps + old processx continues to work (#394, #402).

# processx 3.8.7

No changes.

# processx 3.8.6

* `processx::process` objects are cloneable again, temporarily,
  to avoid warning-like messages from R6 2.6.0 and later.

* processx now does not change the state of the RNG (#390).

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Oct 23 20:39:13 2025 UTC (12 months, 3 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -1 lines
*: recursive bump for pcre2

Running an old binary against the new pcre doesn't work:
/usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Feb 2 22:40:32 2025 UTC (21 months, 1 week ago) by mef
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
(sysutils/R-processx) Updated 3.8.4 to 3.8.5, make test fails by LaTeX issue

# processx 3.8.5
* No changes.

# processx 3.8.4
* No changes.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Dec 8 01:54:42 2024 UTC (23 months, 1 week ago) by mef
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +7 -2 lines
(sysutils/R-processx) updated 3.8.3 to 3.8.4

# processx 3.8.4
* No changes.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Jan 20 02:20:26 2024 UTC (2 years, 9 months ago) by mef
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +11 -3 lines
(sysutils/R-processx) Updated 3.8.2 to 3.8.3, make test fails now

# processx 3.8.3

* `*printf()` format strings are now safer (#379).

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Aug 15 01:19:39 2023 UTC (3 years, 3 months ago) by mef
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
(sysutils/R-processx) Updated 3.8.1 to 3.8.2

# processx 3.8.2

* The client library, used by callr, now ignores `SIGPIPE` when writing
  to a file descriptor, on unix. This avoid possible freezes when a
  `callr::r_session` subprocess is trying to report its result after the
  main process was terminated. In particular, this happened with parallel
  testthat: https://github.com/r-lib/testthat/issues/1819

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Jun 11 10:54:27 2023 UTC (3 years, 5 months ago) by mef
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
(sysutils/R-processx) Updated 3.8.0 to 3.8.1

# processx 3.8.1

* On Unixes, R processes created by callr now feature a `SIGTERM`
  cleanup handler that cleans up the temporary directory before
  shutting down. To enable it, set the `PROCESSX_R_SIGTERM_CLEANUP`
  envvar to a non-empty value.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon May 29 16:29:36 2023 UTC (3 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1 lines
R-processx: add missing pcre2 bl3.mk

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu May 25 11:08:57 2023 UTC (3 years, 5 months ago) by jperkin
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -1 lines
R-processx: Support LIBS, and fix SunOS build.

R inexplicably hardcodes LDFLAGS in its own shipped file so you can't specify
it for individual packages, so we need some other way to support additional
libraries.  It's also highly suboptimal that all of the compiling is done in
the install phase.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Dec 18 01:08:06 2022 UTC (3 years, 10 months ago) by mef
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
(sysutils/R-processx) Updated 3.5.2 to 3.8.0

# processx 3.8.0

* processx error stacks are better now. They have ANSI hyperlinks for
  function calls to their manual pages, and they also print operators
  better.

* processx now does not mark standard streams as close-on-exec on Unix,
  as this causes problems when calling `system()` from an R subprocess
  (https://github.com/r-lib/callr/issues/236).

# processx 3.7.0

* New functions for creating portable FIFOs and Unix socket connections.
  See `conn_create_fifo()`, `conn_create_unix_socket()` and
  `vignettes/internals.Rmd` for documentation. These functions are currently
  experimental.

# processx 3.6.1

* processx now closes file unneeded file descriptors when redirecting
  the standard output and error, in the client file.

* processx errors now do not have `rlang_error` and `rlang_trace` classes,
  because they are actually not compatible with rlang errors and traces.

# processx 3.6.0

* processx now gives better error messages, and better stack traces.

# processx 3.5.3

* `run()` now sets `stderr` to `NULL` in the result (instead of an empty
  string), if the standard error was redirected to the standard output.
  This also fixes an error when interrupting a `run()` with a redirected
  standard error.

* processx now does not fail if the current working directory contains
  a non-ASCII character on Windows, and `getwd()` returns a short path
  for it (#313).

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon May 31 14:26:12 2021 UTC (5 years, 5 months ago) by mef
Branches: MAIN
CVS tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -2 lines
(sysutils/R-processx) Updated 3.4.5 to 3.5.2

# processx 3.5.2

* `run()` now does not truncate stdout and stderr when the output
  contains multibyte characters (#298, @infotroph).

* processx now compiles with custom compilers that enable OpenMP (#297).

* processx now avoids a race condition when the working directory is
  changed right after starting a process, potentially before the
  sub-process is initialized (#300).

* processx now works with non-ASCII path names on non-UTF-8 Unix platforms
  (#293).

# processx 3.5.1

* Fix a potential failure when polling curl file descriptors on Windows.

# processx 3.5.0

* You can now append environment variables to the ones set in the current
  process if you include `"current"` in the value of `env`, in `run()`
  and for `process$new()`: `env = c("current", NEW = "newvalue")` (#232).

* Sub-processes can now inherit the standard input, output and error from
  the main R process, by setting the corresponding argument to an empty
  string. E.g. `run("ls", stdout = "")` (#72).

* `run()` is now much faster with large standard output or standard
  error (#286).

* `run()` can now discard the standard output and error or redirect
  them to file(s), instead of collecting them.

* processx now optionally uses the cli package to color error messages
  and stack traces, instead of crayon.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Dec 13 22:24:10 2020 UTC (5 years, 11 months ago) by mef
Branches: MAIN
CVS tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
(sysutils/R-processx) Updated 3.4.1 to 3.4.5

# processx 3.4.5

* New options in `pty_options` to set the initial size of the pseudo
  terminal.

* Reading the standard output or error now does not crash occasionally
  when a `\n` character is at the beginning of the input buffer (#281).

# processx 3.4.4

* processx now works correctly for non-ASCII commands and arguments passed
  in the native encoding, on Windows (#261, #262, #263, #264).

* Providing multiple environment variables now works on windows (#267).

# processx 3.4.3

* The supervisor (activated with `supervise = TRUE`) does not crash
  on the Windows Subsystem on Linux (WSL) now (#222).

* Fix ABI compatibility for pre and post R 4.0.1 versions. Now CRAN
  builds (with R 4.0.2 and later 4.0.x) work well on R 4.0.0.

* Now processx can run commands on UNC paths specified with
  forward slashes: `//hostname/...` UNC paths with the usual
  back-slashes were always fine (#249).

* The `$as_ps_handle()` method works now better; previously it
  sometimes created an invalid `ps::ps_handle` object, if the system
  clock has changed (#258).

# processx 3.4.2

* `run()` now does a better job with displaying the spinner on terminals
  that buffer the output (#223).

* Error messages are now fully printed after an error. In non-interactive
  sessions, the stack trace is printed as well.

* Further improved error messages. Errors from C code now include the
  name of the C function, and errors that belong to a process include the
  system command (#197).

* processx does not crash now if the process receives a SIGPIPE signal when
  trying to write to a pipe, of which the other end has already exited.

* processx now to works better with fork clusters from the parallel
  package. See 'Mixing processx and the parallel base R package' in the
  README file (#236).

* processx now does no block SIGCHLD by default in the subprocess,
  blocking potentially causes zombie sub-subprocesses (#240).

* The `process$wait()` method now does not leak file descriptors on
  Unix when interrupted (#141).

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Sep 25 17:32:57 2019 UTC (7 years, 1 month ago) by brook
Branches: MAIN
CVS tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
Add missing dependency on devel/R-R6.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Aug 9 19:03:18 2019 UTC (7 years, 3 months ago) by brook
Branches: MAIN
R-processx: initial commit

Tools to run system processes in the background. It can check if a
background process is running; wait on a background process to finish;
get the exit status of finished processes; kill background processes.
It can read the standard output and error of the processes, using
non-blocking connections. 'processx' can poll a process for standard
output or error, with a timeout. It can also poll several processes at
once.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>