pub fn addArgs(run: *Run, args: []const []const u8) void
Appends each of args, verbatim, to the command line that will be passed to the process being run.
args
If any element of args is an input file, addFileInput must be used instead to ensure correct cache behavior.
addFileInput
If any element of args is an output file, addOutputFileArg (or related function) must be used instead to ensure correct cache behavior.
addOutputFileArg
run: *Run
args: []const []const u8
576 577 578
pub fn addArgs(run: *Run, args: []const []const u8) void { for (args) |arg| run.addArg(arg); }
Appends each of
args, verbatim, to the command line that will be passed to the process being run.If any element of
argsis an input file,addFileInputmust be used instead to ensure correct cache behavior.If any element of
argsis an output file,addOutputFileArg(or related function) must be used instead to ensure correct cache behavior.