tests/testthat/_snaps/Windows/process.md

non existing process

Code
  process$new(tempfile())
Condition
  Error:
  ! ! Native call to `processx_exec` failed
  Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...` at initialize.R:162:3:
  ! Command '<tempdir>/<tempfile>' not found @win/processx.c:982 (processx_exec)

working directory does not exist

Code
  process$new(px, wd = tempfile())
Condition
  Error:
  ! ! Native call to `processx_exec` failed
  Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...` at initialize.R:162:3:
  ! create process '<path>/px' (system error 267, The directory name is invalid.
  ) @win/processx.c:1040 (processx_exec)


Try the processx package in your browser

Any scripts or data that you put into this service are public.

processx documentation built on April 1, 2026, 5:06 p.m.