Execute command line and return output as a string.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | cmd |
Command to execute. |
||
character(len=:), | intent(out), | allocatable | :: | output |
Command line output. |
|
type(error_t), | intent(out), | allocatable | :: | error |
Error to handle. |
|
logical, | intent(in), | optional | :: | verbose |
Print additional information if true. |