Command execution and run reporting.
Provides the user-facing change summary and the mechanics to construct and
execute the effective fpm command.
Construct the effective command to run based on changes and target masks.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(fpm_build_settings), | intent(in) | :: | settings | |||
| character(len=*), | intent(in) | :: | full_cmdline | |||
| character(len=*), | intent(in) | :: | cmd_prefix | |||
| character(len=*), | intent(in) | :: | cmd_rest | |||
| type(root_info_t), | intent(in), | allocatable | :: | roots(:) | ||
| integer(kind=int64), | intent(in), | allocatable | :: | file_mask(:) | ||
| integer, | intent(in) | :: | changed_idx(:) | |||
| integer, | intent(in) | :: | changed_count |
Print a summary of changed files.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string_t), | intent(in), | allocatable | :: | files(:) | ||
| integer, | intent(in) | :: | changed_idx(:) | |||
| integer, | intent(in) | :: | changed_count | |||
| type(watch_opts_t), | intent(in) | :: | w |
Execute a command and print pre/post status lines.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | cmd | |||
| type(watch_opts_t), | intent(in) | :: | w | |||
| integer, | intent(out) | :: | exitstat | |||
| real, | intent(out) | :: | secs |