You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's different, response files are useful mostly for tooling.
as a note, windows has a max length for command line arguments.
Tooling write args to a file, and invoke the exe with @path/to.rsp.
That's useful because sometimes arguments can be really long (for example a list of files with full path)
Are nice for users too, to refactor common arguments (like @debug.rsp) to enable a list of args for a configuration.
bartelink
changed the title
Support response files
feat: Support response files
Dec 14, 2023
Add builtin support for response files, enabled by a simple configuration.
Response files is a way to write arguments to a file, instead of pass as command line args.
Like https://docs.microsoft.com/en-us/windows/desktop/midl/response-files
Pratically:
program @path/to/responsefile.rsp
will load args from{workDir}/path/to/responsefile.rsp
.#
are commentsprogram @a.rsp @b.rsp
will load args first froma.rsp
and after these fromb.rsp
program @a.rsp --verbosity low @b.rsp --trace
program "@path/to/the file.rsp"
(or should be@"path/to/the file.rsp"
? )program @@a.rsp
??I am missing something? escape ok, quoting ok...
The text was updated successfully, but these errors were encountered: