Skip to content

Commit 4ba6f4e

Browse files
committed
docs: append::Bool = false for run
1 parent 89791f2 commit 4ba6f4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Program.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ Return `(success::Bool, outputs::Dict{String})`
325325
326326
- `dry_run::Bool = false`: do not run the program, return `(command::AbstractCmd, run_id_file::String)` for CmdProgram, or `(inferred_outputs::Dict{String}, run_id_file::String)` for JuliaProgram.
327327
328-
- `stdout`, `stderr`, `stdlog` and `append`: Redirect the program outputs to files. `stdlog` is the Julia logging of `@info`, `@warn`, `@error`, etc. Caution: If `p isa CmdProgram` and the original command (`p.cmd`) has redirection, arguments defined here might not be effective for the command.
328+
- `stdout`, `stderr`, `stdlog` and `append::Bool = false`: Redirect the program outputs to files. `stdlog` is the Julia logging of `@info`, `@warn`, `@error`, etc. Caution: If `p isa CmdProgram` and the original command (`p.cmd`) has redirection, arguments defined here might not be effective for the command.
329329
330330
!!! warning "Thread safety"
331331
Redirecting in Julia are not thread safe, so unexpected redirection might be happen if you are running programs in different `Tasks` or multi-thread mode.

0 commit comments

Comments
 (0)