GMT commands which write to stdout
I have occasion to use one of these and tried to capture the output using the usual Ruby trick of temporarily assigning a StringIO instance to $stdout , but no joy. The API docs do make mention of "virtual files" in this case and mention of a mysterious "hidden option" ->filename to be passed on the GMT command-line ....