addFileArgument

Adds a single argument to the command, composed of a prefix and a file path separated by "=". Both the prefix and path are escaped independently before concatenation.

Return

this builder instance for chaining

Parameters

arg

the argument prefix, such as a flag name (for example "--config")

path

the file path to append to the argument

Throws

if canonical or real path resolution fails