execute_selections(selections,
prog_args,
dry_run=False,
main=None,
wrapper=None,
stores=None)
| source code
|
Execute program. On success, doesn't return. On failure, raises an
Exception. Returns normally only for a successful dry run.
- Parameters:
selections (selections.Selections) - the selected versions
prog_args ([str]) - arguments to pass to the program
dry_run (bool) - if True, just print a message about what would have happened
main (str) - the name of the binary to run, or None to use the default
wrapper (str) - a command to use to actually run the binary, or None to run the
binary directly
stores (zeroinstall.zerostore.Stores | None)
Since:
0.27
Precondition:
All implementations are in the cache.
|