Skip to content

Commit 85a8e2a

Browse files
committed
Update README
[ci skip]
1 parent 00c5881 commit 85a8e2a

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,14 @@ result <- run(px, "--help", echo = TRUE)
141141
#> outln <string> -- print string to stdout, add newline
142142
#> errln <string> -- print string to stderr, add newline
143143
#> errflush -- flush stderr stream
144-
#> cat <filename> -- print file to stdout
144+
#> cat <filename> -- print file to stdout (use '<stdin>' for standard input)
145145
#> return <exitcode> -- return with exitcode
146146
#> writefile <path> <string> -- write to file
147147
#> write <fd> <string> -- write to file descriptor
148148
#> echo <fd1> <fd2> <nbytes> -- echo from fd to another fd
149149
#> getenv <var> -- environment variable to stdout
150+
#> rawout <hexstring> -- write raw bytes (hex pairs) to stdout
151+
#> rawerr <hexstring> -- write raw bytes (hex pairs) to stderr
150152

151153
> Note: From version 3.0.1, processx does not let you specify a full
152154
> shell command line, as this involves starting a grandchild process
@@ -610,9 +612,10 @@ started running.
610612
p <- process$new("nonexistant-command-for-sure")
611613
```
612614

613-
#> Error in c("process_initialize(self, private, command, args, stdin, stdout, ", : ! Native call to `processx_exec` failed
614-
#> Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, …`:
615-
#> ! cannot start processx process 'nonexistant-command-for-sure' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec)
615+
#> Error in `process_initialize()`:
616+
#> ! ! Native call to `processx_exec` failed
617+
#> Caused by error in `chain_call(...)`:
618+
#> ! cannot start processx process 'nonexistant-command-for-sure' (system error 2, No such file or directory) @unix/processx.c:651 (processx_exec)
616619

617620
``` r
618621
p2 <- process$new(px, c("sleep", "1", "command-does-not-exist"))

0 commit comments

Comments
 (0)